zopectl run & logging

Andreas Gabriel <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Hochschulrechenzentrum Philipps-Universitaet Marburg
Message-ID <[email protected]>
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?

Danke & Gruß
Andreas


zope2.10 (2.10.6)

-- 
Dr. Andreas Gabriel, Hochschulrechenzentrum
Hans-Meerwein-Str., 35032 Marburg, fon +49 (0)6421 28-23560 fax -26994
----------------- Philipps-Universitaet Marburg ----------------------



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