diff options
Diffstat (limited to 'src/lib/Component.py')
-rw-r--r-- | src/lib/Component.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/Component.py b/src/lib/Component.py index b73098d09..caea3eda9 100644 --- a/src/lib/Component.py +++ b/src/lib/Component.py @@ -33,9 +33,10 @@ def run_component(component_cls, listen_all, location, daemon, pidfile_name, logging.getLogger().setLevel(level) Bcfg2.Logger.setup_logging(component_cls.implementation, - True, - True, - to_file=to_file) + to_console=True, + to_syslog=True, + to_file=to_file, + level=level) if daemon: child_pid = os.fork() |