[PATCH saem] [doc] Add section about starting the instance in debug mode

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Jun 22 11:40:24 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1498123814 -7200
#      Thu Jun 22 11:30:14 2017 +0200
# Node ID 533d21385389a5e61e29a9de87143bcfbe86e471
# Parent  9bfae8db1d1675df5cb19e14b3f5b2d8eddfee78
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 533d21385389
[doc] Add section about starting the instance in debug mode

diff --git a/doc/install.rst b/doc/install.rst
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -252,6 +252,18 @@ problème.
 .. _virtualenv: https://virtualenv.pypa.io/
 .. _gunicorn: http://gunicorn.org/
 .. _supervisor: http://supervisord.org/
 .. _Salt: https://saltstack.com/
 .. _`formule Salt`: https://github.com/logilab/saemref-formula
-.. _`pillar.example`: https://github.com/logilab/saemref-formula/blob/master/test/pillar/example.sls
\ No newline at end of file
+.. _`pillar.example`: https://github.com/logilab/saemref-formula/blob/master/test/pillar/example.sls
+
+
+Lancement de l'instance en mode debug
+=====================================
+
+Pour comprendre certains problèmes, il peut-être utile de lancer l'instance en mode "debug" afin d'augmenter le niveau de détails des *logs*. Pour cela, il faut mettre : ::
+
+    log-threshold=DEBUG
+
+dans le fichier ``~saemref/etc/cubicweb.d/saemref/all-in-one.conf`` puis relancer l'instance : ::
+
+    [root at minion] % supervisorctl restart all


More information about the saem-devel mailing list