-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Peter Kropf
Sent: Wed 8/3/2005 12:35 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Accessing error_level and error_print from Python
/ Perl / PHP / TCL
 
I'm not sure I follow. What kind of problems are you thinking of for
non-interactive programs?

For the things that I'm working with, the code will run as daemon
processes and will start with something like:

import ow
ow.error_level(ow.error_level.connect)
ow.error_print(ow.error_print.syslog)
ow.init('u')

to be able to send connect level messages to syslog, actually
daemon.log. This allows me to have a log of messages for what was
going on with the process from the owlib point of view.

- Peter

Oops, I forgot about syslog output. I always use stderr. 

Paul

<<winmail.dat>>

Reply via email to