From b51a7d0a3b5ba2a4b6a28d5d573bab1d42ee89d3 Mon Sep 17 00:00:00 2001
From: Timothe Jost <timothe.jost@wanadoo.fr>
Date: Tue, 28 May 2024 18:22:26 +0200
Subject: [PATCH] just some cosmetic things

---
 src/pypelines/__init__.py  | 2 +-
 src/pypelines/arguments.py | 4 ++--
 src/pypelines/loggs.py     | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/pypelines/__init__.py b/src/pypelines/__init__.py
index 0d5fadf..93cb8a1 100644
--- a/src/pypelines/__init__.py
+++ b/src/pypelines/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "0.0.58"
+__version__ = "0.0.59"
 
 from . import loggs
 from .pipes import *
diff --git a/src/pypelines/arguments.py b/src/pypelines/arguments.py
index 8906ed4..58ab715 100644
--- a/src/pypelines/arguments.py
+++ b/src/pypelines/arguments.py
@@ -117,12 +117,12 @@ def get_step_arguments(session, step):
     try:
         config_args = read_session_arguments_file(session, step)["functions"][step.relative_name]
     except FileNotFoundError as e:
-        local_log.debug(f"{type(e).__name__} : {e}. Skipping")
+        local_log.debug(f"{type(e).__name__} : {e}. Skipping autoload_arguments")
         return {}
     except KeyError:
         local_log.debug(
             f"Could not find the `functions` key or the key `{step.relative_name}` in pipelines_arguments.json file at"
-            f" {session.path}. Skipping"
+            f" {session.path}. Skipping autoload_arguments"
         )
         return {}
 
diff --git a/src/pypelines/loggs.py b/src/pypelines/loggs.py
index 580ef7e..c7ad61e 100644
--- a/src/pypelines/loggs.py
+++ b/src/pypelines/loggs.py
@@ -14,7 +14,7 @@ from coloredlogs import (
 from pathlib import Path
 
 NAMELENGTH = 33  # global variable for formatting the length of the padding dedicated to name part in a logging record
-LEVELLENGTH = 8  # global variable for formatting the length of the padding dedicated to levelname part in a record
+LEVELLENGTH = 9  # global variable for formatting the length of the padding dedicated to levelname part in a record
 
 
 def enable_logging(
@@ -246,11 +246,11 @@ class SugarColoredFormatter(DynamicColoredFormatter):
 
 
 class TerminalFormatter(SugarColoredFormatter):
-    FORMAT = f"%(levelname)-{LEVELLENGTH}s : %(name)-{NAMELENGTH}s : %(message)s - %(asctime)s"
+    FORMAT = f"%(levelname)-{LEVELLENGTH}s: %(name)-{NAMELENGTH}s : %(message)s - %(asctime)s"
 
 
 class FileFormatter(SugarColoredFormatter):
-    FORMAT = f"[%(asctime)s] %(hostname)s %(levelname)-{LEVELLENGTH}s : %(name)-{NAMELENGTH}s : %(message)s"
+    FORMAT = f"[%(asctime)s] %(hostname)s %(levelname)-{LEVELLENGTH}s: %(name)-{NAMELENGTH}s : %(message)s"
 
 
 class ContextFilter(logging.Filter):
-- 
GitLab