summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-12-16 17:24:49 +0000
committerKegan Dougal <kegan@matrix.org>2014-12-16 17:24:49 +0000
commit4dcad143dd3fc48aceae792fcbe2f331b83776a3 (patch)
treeb474563181deda2e6e7a03a93b2084f069653be4 /synapse/config/logger.py
parentRemove send_message since nothing was calling it. Remove Snapshot because onl... (diff)
downloadsynapse-4dcad143dd3fc48aceae792fcbe2f331b83776a3.tar.xz
SYN-142: Use a default log file 'homeserver.log' so people get logging by default.
Diffstat (limited to '')
-rw-r--r--synapse/config/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index 089d906fa5..d352ea9be9 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -36,7 +36,7 @@ class LoggingConfig(Config):
             help="The verbosity level."
         )
         logging_group.add_argument(
-            '-f', '--log-file', dest="log_file", default=None,
+            '-f', '--log-file', dest="log_file", default="homeserver.log",
             help="File to log to."
         )
         logging_group.add_argument(