Skip to content

Commit 2508d36

Browse files
committed
don't log init by default
Signed-off-by: Zen <[email protected]>
1 parent 1081793 commit 2508d36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "zenlib"
7-
version = "2.2.4"
7+
version = "2.2.5"
88
authors = [
99
{ name="Desultory", email="[email protected]" },
1010
]

src/zenlib/logging/loggify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "desultory"
2-
__version__ = "2.2.0"
2+
__version__ = "2.3.0"
33

44
from .colorlognameformatter import ColorLognameFormatter
55

@@ -32,7 +32,7 @@ def __init__(self, *args, **kwargs):
3232
self.logger.info("Adding default handler: %s" % self.logger)
3333

3434
# Log class init if _log_init is passed
35-
if kwargs.pop('_log_init', True) is True:
35+
if kwargs.pop('_log_init', False) is True:
3636
self.logger.info("Intializing class: %s" % cls.__name__)
3737
self.logger.debug("Log level: %s" % self.logger.level)
3838

0 commit comments

Comments
 (0)