From fed974e0187d3db69009fe7cbecc97942368a4e8 Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 24 May 2017 17:03:48 +0200 Subject: [PATCH] Disable logging config by default Radicale always tries to load the system-wide configuration file. To turn this off, the logging-config option has to be added to all configuration files and command line arguments. It's easier to disable it by default and only add it once to the system-wide config file. --- config | 2 +- radicale/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index a0b04f9..0d17dae 100644 --- a/config +++ b/config @@ -122,7 +122,7 @@ # If no config is given, simple information is printed on the standard output # For more information about the syntax of the configuration file, see: # http://docs.python.org/library/logging.config.html -#config = /etc/radicale/logging +#config = # Set the default logging level to debug #debug = False diff --git a/radicale/config.py b/radicale/config.py index d7b4586..b49e19f 100644 --- a/radicale/config.py +++ b/radicale/config.py @@ -123,7 +123,7 @@ INITIAL_CONFIG = OrderedDict([ "help": "command that is run after changes to storage"})])), ("logging", OrderedDict([ ("config", { - "value": "/etc/radicale/logging", + "value": "", "help": "logging configuration file"}), ("debug", { "value": "False",