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 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )