Re: zopectl run & logging
Andreas Jung <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Organization | ZOPYX Ltd & Co. KG |
| Message-ID | <[email protected]> |
Das Verhalten ist korrekt (zumindest in dem Sinne, dass es immer schon
so war - ich
kann nicht sagen, ob das Verhalten "intentional" ist).
Ich instanziiere die Logger bei Verwendung von "zopectl run"
üblicherweise immer selbst.
Andreas
On 30.06.09 15:28, 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?
>
> Danke & Gruß
> Andreas
>
>
> zope2.10 (2.10.6)
>
>
> ------------------------------------------------------------------------
>
>
>
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope
>
--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf
(text/x-vcard, 316 B)
begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[email protected] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard