[Zope] Product logging to Postgres

Dieter Maurer dieter at handshake.de
Thu Jul 14 16:40:58 EDT 2005


David Pratt wrote at 2005-7-12 10:44 -0300:
>I am wanting to log a product to postgres database. I want to write to 
>the log from my Script Python methods (in skins) when certain actions 
>occur. The product itself uses a number of zsql methods.  Can I import 
>existing zope logging classes in my Script Python

You can import them as soon as you execute the necessary security
declarations (--> "PythonScripts" --> "README").

>to to this

In order to let Zope's "logging classes" log to postgres, you
will need to implement a new log handler that does this...

-- 
Dieter


More information about the Zope mailing list