diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-03 19:27:25 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-03 19:27:25 +0200 |
commit | 31c2e23c4c3e2933952d5851bd5c97eb336258dd (patch) | |
tree | cb0ea7fe4d749c8a47e0457b42bbf9353fa24926 /doc/source | |
parent | c2f6ece39db14ba87ad33d6a7103193cf2e64050 (diff) | |
download | poezio-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 'doc/source')
-rw-r--r-- | doc/source/configuration.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index 9f568200..7ca8cc59 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -362,6 +362,13 @@ section of this documentation. i.e. in ``~/.local/share/poezio/logs/``. So, you should specify the directory you want to use instead. This directory will be created if it doesn't exist + log_errors + + **Default value:** ``true`` + + Logs all the tracebacks or poezio/sleekxmpp in :term:`log_dir`/errors.log by + default. ``false`` disables this option. + max_lines_in_memory **Default value:** ``2048`` |