From 31c2e23c4c3e2933952d5851bd5c97eb336258dd Mon Sep 17 00:00:00 2001
From: mathieui <mathieui@mathieui.net>
Date: Sat, 3 Aug 2013 19:27:25 +0200
Subject: 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.
---
 doc/source/configuration.rst | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'doc')

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``
-- 
cgit v1.2.3