summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-03 19:27:25 +0200
committermathieui <mathieui@mathieui.net>2013-08-03 19:27:25 +0200
commit31c2e23c4c3e2933952d5851bd5c97eb336258dd (patch)
treecb0ea7fe4d749c8a47e0457b42bbf9353fa24926 /data
parentc2f6ece39db14ba87ad33d6a7103193cf2e64050 (diff)
downloadpoezio-31c2e23c4c3e2933952d5851bd5c97eb336258dd.tar.gz
poezio-31c2e23c4c3e2933952d5851bd5c97eb336258dd.tar.bz2
poezio-31c2e23c4c3e2933952d5851bd5c97eb336258dd.tar.xz
poezio-31c2e23c4c3e2933952d5851bd5c97eb336258dd.zip
Logs errors by default, in a dedicated file
- log_errors option, true by default - errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log by default) This should help a lot for debugging, and provide a way for people to easily give debug traces without useless or personal infos.
Diffstat (limited to 'data')
-rw-r--r--data/default_config.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/default_config.cfg b/data/default_config.cfg
index 9e93900f..367a5607 100644
--- a/data/default_config.cfg
+++ b/data/default_config.cfg
@@ -220,6 +220,10 @@ load_log = 10
# you want to use instead. This directory will be created if it doesn't exist
log_dir =
+# Log the errors poezio encounters in log_dir/errors.log
+# A false value disables this option.
+log_errors = true
+
# If plugins_dir is not set, plugins will be loaded from $XDG_DATA_HOME/poezio/plugins.
# You can specify an other directory to use. It will be created if it doesn't exist
plugins_dir =