Log to /var/log/planetstack.log instead of observer.log in current directory.
diff --git a/planetstack/observer/event_loop.py b/planetstack/observer/event_loop.py
index 35dd620..27475ca 100644
--- a/planetstack/observer/event_loop.py
+++ b/planetstack/observer/event_loop.py
@@ -17,7 +17,7 @@
debug_mode = False
-logger = Logger(logfile='observer.log', level=logging.INFO)
+logger = Logger(level=logging.INFO)
class StepNotReady(Exception):
pass
diff --git a/planetstack/observer/steps/garbage_collector.py b/planetstack/observer/steps/garbage_collector.py
index 705ed67..a13fd22 100644
--- a/planetstack/observer/steps/garbage_collector.py
+++ b/planetstack/observer/steps/garbage_collector.py
@@ -8,7 +8,7 @@
from observer.openstacksyncstep import OpenStackSyncStep
from core.models import *
-logger = Logger(logfile='observer.log', level=logging.INFO)
+logger = Logger(level=logging.INFO)
class GarbageCollector(OpenStackSyncStep):
requested_interval = 86400
diff --git a/planetstack/observer/syncstep.py b/planetstack/observer/syncstep.py
index 031a3bc..fb8c77a 100644
--- a/planetstack/observer/syncstep.py
+++ b/planetstack/observer/syncstep.py
@@ -4,7 +4,7 @@
from planetstack.config import Config
from util.logger import Logger, logging
-logger = Logger(logfile='observer.log', level=logging.INFO)
+logger = Logger(level=logging.INFO)
class FailedDependency(Exception):
pass