----- Original Message -----
From: John Thorhauer <[EMAIL PROTECTED]>
To: turbine <[EMAIL PROTECTED]>
Sent: Friday, June 23, 2000 4:23 PM
Subject: multiple log files in turbine


> I just added some code to my org.apache.turbine.util.Log.java that would
> give the ability to use multiple logs in turbine. If this doesnt cause
> any unforseen conflicts, problems etc. can this be added into the code?

I don't think the idea of multiple log files itself is bad, I just have a
couple of concerns.  First, we already have log files for the web server,
the servlet engine, turbine, services like webmacro & castor and the
database.  With all these log files, breaking up the turbine.log file
without very careful thought, may cause more confusion than actual benefits.

Second, log writes should be independent of multiple log files.  In other
words code like this:

Log.setLogFile("dblogfile");
Log.note("insert record into db");

makes me a bit nervous.  Will setLogFile() imply multiple log files?  What
happens to the setLogFile() call when I don't want or need a dblogfile?

As I said, I'm not totally against the idea, I just want to carefully weigh
up costs against benefits.

~ Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to