[Zope] Need help tracing my application errors.

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Thu Sep 7 15:32:52 EDT 2006


> You can also write an external method that performs logging through 
> any kind of logger you might have available in Python and call this 
> external method from anywhere in Zope since ExternalMethods are 
> first-class Zope objects and can be acquired through standard 
> acquisition.

The simple and effective logger for this situation may be
external method defined as:

def print_this(text):
    print text

Start zope with runzope script and as Anderas said
call your external method from anywhere in Zope .
You'll see your printed statements in the console.

-- 
Maciej Wisniowski


More information about the Zope mailing list