----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I would like to be able to roll the jserv log files using a method
like cronolog like I am with the normal httpd log files. In the faq it
mentions that you have to stop the jvm, rename the files, start the
jvm. 

That's all fine and dandy, but even if a cron job is written to do this,
what about the poor users that are on the web site? They get screwed
over.
For an ecommerce site this is not a feasible option at all.

I tried using cronolog like so in jserv.properties:

log.file="|/usr/local/sbin/cronolog
--symlink=/usr/local/apache/logs/jserv.log
/usr/local/apache/logs/%Y%m%d/jserv.log"

but this didn't work at all. Cronolog doesn't start up, and nothing gets
written at all. I guess java doesn't like writing through pipes.

Is there any way to use cronolog (or something similar) to automate the
rolling of the jserv.log and mod_jserv.log files? I really don't want to
implement something that stops the web server just to rename the files.

TIA
-- 
Chris Cheshire
Manager of Software Development
bigredwire.com
Phone : +1 805 560 6666 (w)
        +1 805 559 9166 (m)
Fax :   +1 805 560 8901
Email : [EMAIL PROTECTED]

   Real Programmers don't draw flowcharts. 
   Flowcharts are the illiterate's form of 
   documentation. Cavemen drew flowcharts; 
   look at how much good it did for them


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to