[Cubicweb] How to debug cubicweb withoutdebug mode?

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Mon Apr 11 16:14:34 CEST 2016

Hi Christophe,

I want to avoid '--no-daemon' because crashes are precisely  triggered
by daemonizing.

I will try "logging.conf", however I believe the error messages I want
to see (those triggered by the docutils crash) are not necessarily
related to logging. Instead they might be messages to stderr that are
perhaps discarded after the daemonize() initialization.


Le 09/04/2016 15:19, Christophe de Vienne a écrit :
> [...]
> The first thing you can do is configure the logging with a
> "logging.conf" file next to all-in-one.conf [1].
> Another thing would be to run the server with the 'pyramid' command,
> which has a '--no-daemon' switch that does not turn on debug mode. This
> way, some non-caught exception may be visible in the console. It also
> allows you to configure logging to output to the console instead of a
> file, which can be more comfortable.
> [...]

Dimitri Papadopoulos
DRF, I2BM, NeuroSpin
F-91191 Gif-sur-Yvette cedex, France

More information about the Cubicweb mailing list