[Grok-dev] Disable logging of Http connections (GETs, POSTs...) when logging in debug mode
Hector Blanco
white.lists at gmail.com
Fri Dec 17 16:36:04 EST 2010
I'm amazed for the speed of your answers, guys! :)
Your solution worked fine.
By doing:
[pipeline:main]
#pipeline = accesslogging evalexception grok
pipeline = evalexception grok
in parts/etc/debug.ini, it doesn't show the GET/POSTs...
It looks like a new feature, indeed. I have another Grok server
running and it doesn't show the GET/POSTS... It's nice to have that,
though :) Thanks to the Grok developers!
Thank you again.
2010/12/17 Matthias <nitro at dr-code.org>:
> 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
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>
More information about the Grok-dev
mailing list