14 Jul
2005
14 Jul
'05
8:40 p.m.
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