On Fri, Nov 02, 2001 at 02:50:45PM -0500, Clark C . Evans wrote:
| I had another request for Monitor.py ... how do I get it
| to send its output to a log file?

Patch attached... but the log file is hard coded.  This
should read from perhaps a new config file in the Configs dir?

Clark
46,47c46,47
< 
< 
---
> logFile = "/opt/webware/server.log"
> errFile = "/opt/webware/server.err"
303c303,305
< 
---
>               else:
>                       sys.stdout = open(logFile,"w")  
>                       sys.stderr = open(errFile,"w")

Reply via email to