[Grok-dev] Disable logging of Http connections (GETs, POSTs...) when logging in debug mode
Matthias
nitro at dr-code.org
Fri Dec 17 15:52:15 EST 2010
Am 17.12.2010, 21:40 Uhr, schrieb Hector Blanco <white.lists at gmail.com>:
> Hello everyone!
>
> I have recently installed a Grok server (version 1.2.1). Everything is
> working fine but when I start the server in debug mode (using
> bin/paster serve --reload parts/etc/debug.ini) it shows all the
> network traffic data (GET/POST...)
>
> That is nice, and will be very useful, but right now I'm not that
> centered in controlling the network traffic but more in developing
> other functionalities. Is there any way of "hiding" said messages?
>
> Here's my parts/etc/debug.ini file (it's the default version but...
> just in case)
I guess you need to take out "accesslogging" from the main pipeline.
Access logging links to Paste#translogger for which you can find docs here
http://pythonpaste.org/modules/translogger.html.
So I guess taking out accesslogging out of the "pipeline =" line will do
the trick.
Btw, is this new behaviour? My project didn't get all the access requests
(which seem to be quite useful indeed).
-Matthias
More information about the Grok-dev
mailing list