summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-16 15:59:36 +0100
committerGitHub <noreply@github.com>2019-07-16 15:59:36 +0100
commitc831c5b2bb95fb018756547e93fed3468a5d6b71 (patch)
treea5b3d2f7d91da0aaefdf2a4b2996c1c5243d0b7a /synapse/config/logger.py
parentReturn a different error from Invalid Password when a user is deactivated (#5... (diff)
parentRemove pointless description (diff)
downloadsynapse-c831c5b2bb95fb018756547e93fed3468a5d6b71.tar.xz
Merge pull request #5597 from matrix-org/erikj/admin_api_cmd
Create basic admin command app
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index 0f5554211c..40502a5798 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -103,7 +103,8 @@ class LoggingConfig(Config):
         if args.log_file is not None:
             self.log_file = args.log_file
 
-    def add_arguments(cls, parser):
+    @staticmethod
+    def add_arguments(parser):
         logging_group = parser.add_argument_group("logging")
         logging_group.add_argument(
             "-v",