Skip to content

Commit f105376

Browse files
committed
chore: new logging format
1 parent 01bd60e commit f105376

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
*
16+
* New logging format
1717

1818
### Fixed
1919

src/colony/base/system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
""" The default logging format """
8282

8383
DEFAULT_LOGGING_FORMAT_TRACE = (
84-
"%(asctime)s [%(name)s] [%(levelname)s] %(pathname)s:%(lineno)d | %(message)s"
84+
"%(asctime)s [%(name)s] [%(levelname)s] [%(thread)d] | %(pathname)s:%(lineno)d | %(message)s"
8585
if sys.version_info >= (3, 8)
86-
else "%(asctime)s [%(name)s] [%(levelname)s] %(message)s"
86+
else "%(asctime)s [%(name)s] [%(levelname)s] [%(thread)d] | %(message)s"
8787
)
8888
""" The format to be used when the logging level is set to TRACE,
8989
includes file path and line number on Python 3.8+ where stacklevel

0 commit comments

Comments
 (0)