Re: zopectl run & logging

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
On 30.06.09 18:35, Andreas Gabriel wrote:
> Hi Andreas,
>
> Andreas Jung schrieb:
>   
>> Ich instanziiere die Logger bei Verwendung von "zopectl run"
>> üblicherweise immer selbst.
>>     
> Aha. Wie wird man denn das bereits initialisierte logging von Zope los?
>   
Ich meinte, dass mich bei meinen Apps üblicherweise nur das Logging
innerhalb
meines eigenen Codes interessiert und das Logging innerhalb von Zope für
mich uninteressant ist. Deinen Usecase auch das Logging von Zope-Modulen
mitzubekommen wird dadurch nicht abgedeckt. Eventuell kannst Du in
Deiner Applikation
den Logger-Initialisierungscode von Zope dediziert selbst ausführen
(lib/python/Zope2/Startup..
schau mal nach setupInitialLogging()...) - der entsprechende Code zur
Loggerinitialisierung
wird von Zope wirklich nur ausgeführt, wenn man den Appserver hochfährt
(nicht via "zopectl run").

Andreas



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