summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--combox/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/combox/events.py b/combox/events.py
index f69c8d9..c159e1e 100644
--- a/combox/events.py
+++ b/combox/events.py
@@ -40,6 +40,10 @@ class ComboxDirMonitor(LoggingEventHandler):
"""
super(ComboxDirMonitor, self).__init__()
+ logging.basicConfig(level=logging.INFO,
+ format='%(asctime)s - %(message)s',
+ datefmt='%Y-%m-%d %H:%M:%S')
+
self.config = config
self.silo = ComboxSilo(self.config)