Re: zopectl run & logging

Raphael Ritz <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Andreas Gabriel wrote:
> Hallo,
> 
> ich experimentiere gerade auf der Kommandozeile mit
> 
>> zopectl run <python-script>
> 
> Das Skript lÀuft einwandfrei, jedoch wird Ìber das logging module
> 
> z.B.
> 
> #[snip]
> 
> import logging
> logger = logging.getLogger('myScript')
> 
> if __name__ == '__main__':
> 
>    logger.info('xxxxxxx')
>    logger.debug('xxxxxxx')
> 
> #[snip]
> 
> 
> weder nach stdout noch in das event.log geschrieben.
> Kennt jemand Abhilfe dafÃŒr?

Hast Du schon versucht den log level zu verÀndern?

Raphael

> 
> Danke & Gruß
> Andreas
> 
> 
> zope2.10 (2.10.6)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.