summaryrefslogtreecommitdiffstats
path: root/pykolab/logger.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-07-06 18:24:41 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-07-06 18:24:41 +0100
commit5430cac17017e335ddc1a6243c4ee386c44b9dde (patch)
tree1e9b64aef696ddaef971201e6e63c78dccfcc0ba /pykolab/logger.py
parent6cc40d31ef0aab69b4d3868e277cfaddad226d9d (diff)
downloadpykolab-5430cac17017e335ddc1a6243c4ee386c44b9dde.tar.gz
Set a default logfile
Diffstat (limited to 'pykolab/logger.py')
-rw-r--r--pykolab/logger.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pykolab/logger.py b/pykolab/logger.py
index f72b09e..8f2e5f7 100644
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -67,6 +67,8 @@ class Logger(logging.Logger):
if kw.has_key('logfile'):
self.logfile = kw['logfile']
+ else:
+ self.logfile = '/var/log/kolab/pykolab.log'
try:
filelog_handler = logging.FileHandler(filename=self.logfile)