Skip to content

Commit

Permalink
Added optional config param for init_log_aggregators
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed May 12, 2024
1 parent 1686cd5 commit c352d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neon_utils/log_aggregators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
}


def init_log_aggregators():
def init_log_aggregators(config: dict = None):
from ovos_config.config import Configuration
config = Configuration()
config = config or Configuration()
for service_name, handler in _service_name_to_handler.items():
service_config = _get_log_aggregator_config(config=config, name=service_name)
if bool(service_config.get('enabled')):
Expand Down

0 comments on commit c352d80

Please sign in to comment.