Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions beans_logging/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
self,
config: Union[LoggerConfigPM, dict, None] = None,
config_file_path: str = _CONFIG_FILE_PATH,
load_config_file: bool = True,
auto_config_file: bool = True,
auto_load: bool = False,
):
"""LoggerLoader constructor method.
Expand All @@ -73,7 +73,7 @@ def __init__(
dict,
None ], optional): New logger config to update loaded config. Defaults to None.
config_file_path (str , optional): Logger config file path. Defaults to `LoggerLoader._CONFIG_FILE_PATH`.
load_config_file (bool , optional): Indicates whether to load logger config file or not. Defaults to True.
auto_config_file (bool , optional): Indicates whether to load logger config file or not. Defaults to True.
auto_load (bool , optional): Indicates whether to load logger handlers or not. Defaults to False.
"""

Expand All @@ -83,7 +83,7 @@ def __init__(

self._load_env_vars()

if load_config_file:
if auto_config_file:
self._load_config_file()

if config:
Expand Down