summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-10-15 07:58:34 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-10-15 07:58:34 -0500
commit2f175f9f05c7366a9f8097a3ea2317a2868287c7 (patch)
tree2aad81e19faba21ea0fc443ea3539793df2e83b1
parent4a30b32594c0457776dd0598dcb99cb935245aee (diff)
parent6df8858adfa77b02363052593b398cbaa441ec7e (diff)
downloadbcfg2-2f175f9f05c7366a9f8097a3ea2317a2868287c7.tar.gz
bcfg2-2f175f9f05c7366a9f8097a3ea2317a2868287c7.tar.bz2
bcfg2-2f175f9f05c7366a9f8097a3ea2317a2868287c7.zip
Merge branch 'fix_default_logging_level' of https://github.com/mikemccllstr/bcfg2
-rw-r--r--src/lib/Component.py7
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()