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.
This commit is contained in:
parent
22d364729b
commit
fed974e018
2
config
2
config
@ -122,7 +122,7 @@
|
|||||||
# If no config is given, simple information is printed on the standard output
|
# If no config is given, simple information is printed on the standard output
|
||||||
# For more information about the syntax of the configuration file, see:
|
# For more information about the syntax of the configuration file, see:
|
||||||
# http://docs.python.org/library/logging.config.html
|
# http://docs.python.org/library/logging.config.html
|
||||||
#config = /etc/radicale/logging
|
#config =
|
||||||
|
|
||||||
# Set the default logging level to debug
|
# Set the default logging level to debug
|
||||||
#debug = False
|
#debug = False
|
||||||
|
@ -123,7 +123,7 @@ INITIAL_CONFIG = OrderedDict([
|
|||||||
"help": "command that is run after changes to storage"})])),
|
"help": "command that is run after changes to storage"})])),
|
||||||
("logging", OrderedDict([
|
("logging", OrderedDict([
|
||||||
("config", {
|
("config", {
|
||||||
"value": "/etc/radicale/logging",
|
"value": "",
|
||||||
"help": "logging configuration file"}),
|
"help": "logging configuration file"}),
|
||||||
("debug", {
|
("debug", {
|
||||||
"value": "False",
|
"value": "False",
|
||||||
|
Loading…
Reference in New Issue
Block a user