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
-- 
PCMCIA - People Can't Memorize Computer Industry Acronyms

Attachment: signature.asc
Description: Digital signature

Reply via email to