Permalink
Browse files

Add config options for logging

  • Loading branch information...
1 parent d490578 commit 9eb091daf625f3a586356d66e9702941abcb700c @thatch45 thatch45 committed Mar 20, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 salt/config.py
View
@@ -21,6 +21,9 @@ def minion_config(path):
'cachedir': '/var/cache/salt',
'disable_modules': [],
'open_mode': False,
+ 'log_file': '/var/log/salt/master',
+ 'log_level': 'DEBUG',
+ 'out_level': 'ERROR',
}
if os.path.isfile(path):
@@ -54,6 +57,9 @@ def master_config(path):
'pki_dir': '/etc/salt/pki',
'cachedir': '/var/cache/salt',
'open_mode': False,
+ 'log_file': '/var/log/salt/master',
+ 'log_level': 'DEBUG',
+ 'out_level': 'ERROR',
}
if os.path.isfile(path):
@@ -73,3 +79,4 @@ def master_config(path):
opts['open_mode'] = False
return opts
+

0 comments on commit 9eb091d

Please sign in to comment.