Le 06/09/2010 21:20, Marius Gedminas a écrit :
On Mon, Sep 06, 2010 at 06:00:38PM +0200, Ronan Amicel wrote:
Hi Stéphane,
Le 6 sept. 2010 ŕ 17:29, Stéphane Klein a écrit :
By default, markdown module enable log on DEBUG level.
...
17:15:51,715 DEBUG [MARKDOWN] in markdown.markdown(), received text:
...
how can I disable it ?
Maybe you can add some configuration to your development.ini or
production.ini file, along these lines:
[loggers]
keys = root, routes, (...), markdown
[logger_markdown]
level = WARN
handlers = file
qualname = MARKDOWN
Yes, but better say
handlers =
or your messages will be duplicated: once to the handler you specify
here, and once to the handler you specify in [logger_root].
(Alternatively, specify propagate = 0 as well as a handler here.)
Marius Gedminas
Thanks for your comment but your solution don't work.
What I did :
[loggers]
keys = root, routes, iridium, sqlalchemy, markdown
...
[logger_markdown]
level = WARN
handlers =
qualname = MARKDOWN
but I've always :
15:15:43,820 DEBUG [MARKDOWN] in markdown.markdown(), received text:
...
:(
Other idea ?
Regards,
Stephane
--
Stéphane Klein <[email protected]> - French
blog: http://stephane-klein.info
twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.