summaryrefslogtreecommitdiff
path: root/bin/netsvc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/netsvc.py')
-rw-r--r--bin/netsvc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/netsvc.py b/bin/netsvc.py
index 36e88add4a2..b03dfad7e31 100644
--- a/bin/netsvc.py
+++ b/bin/netsvc.py
@@ -113,8 +113,8 @@ def init_logger():
os.makedirs(dirname)
handler = logging.handlers.TimedRotatingFileHandler(logf,'D',1,30)
except Exception, ex:
- sys.stderr.write("ERROR: couldn't create the logfile directory\n")
- handler = logging.StreamHandler(sys.stdout)
+ sys.stderr.write("ERROR: couldn't create the logfile directory. Logging to the standard output.\n")
+ handler = logging.StreamHandler(sys.stdout)
else:
# Normal Handler on standard output
handler = logging.StreamHandler(sys.stdout)