Hi Stéphane,

Le 6 sept. 2010 à 17:29, Stéphane Klein a écrit :

> in my Pylons project I use ``markdown`` function 
> (http://webhelpers.groovie.org/modules/html/converters.html).
> 
> By default, markdown module enable log on DEBUG level.
> 
> When I execute my project I've many many DEBUG message in my console :
> 
> 17:15:51,715 DEBUG [MARKDOWN] in markdown.markdown(), received text:
> .....
> 
> how can I disable it ?
> 
> I try to append this code in config/environment.py
> 
> from logging import getLogger, WARN
> logger = getLogger('MARKDOWN')
> logger.setLevel(WARN)
> 
> but not success.

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

-- 
Ronan Amicel

-- 
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.

Reply via email to