[Zope] how do you write to stupid log file?
Stefan H. Holek
stefan@epy.co.at
Mon, 14 Jul 2003 22:55:25 +0200
Try this:
from zLOG import LOG, INFO
LOG('MyProduct', INFO, 'My message')
Zope must run in debug mode for messages to appear in the event log.
Stefan
On Montag, Jul 14, 2003, at 22:12 Europe/Vienna, Christopher N. Deckard
wrote:
> Hello,
> We'd like to add some internal logging for some Products we've
> written. What is the proper way to write error messages to the
> stupid log file? Is that where additional messages should go, or
> should we create our own log file.
>
> Thanks,
> -Chris
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is. /Pete McBreen/