Re: Jetty Logfile
2000-11-30 15:55:05
You may want to try asking this question on the Jetty discussion group -
http://www.egroups.com/group/jetty-discuss/
or the unoffical support group -
http://www.egroups.com/group/jetty-support/
I dug around the www.mortbay.com site (the creators of Jetty) and found the
following information which looks as if it was meant to control the Jetty
logs:
--------------------------------------------------------------------------------------------------------------------------------------------------------
You can redirect Jetty log output to a dated file with the following java
properties:
-DLOG_CLASSES=com.mortbay.Util.RolloverFileLogSink
-DROLLOVER_LOG_DIR=c:/temp/jettylogs
---------------------------------------------------------------------------------------------------------------------------------------------------------
Also on the jetty-support site, I found a question regarding the size of
the jetty log and the reply was as follows:
------------------------------------------------------------------------------------------
>From release 2.4.4 there is the RolloverFileLogSink class which allows log
files to be rolled over.
You may want to trim the Demo server configuration for better performance
and probably slightly less verbose output.
Try using the JettyServer.prp file as a base config file (running with
com.mortbay.Jetty.Server).
Try to remove the handlers for auth, filters and aliases (unless you use
them).
If you get stuck - send me you config file and I'll tune if for you.
-------------------------------------------------------------------------------------------
I would suggest backing up your config file before experimenting :-)
Gareth Holl
Software Engineer
gholl AT tivoli DOT com
Tivoli Systems / IBM Corporation
Research Triangle Park, NC 27703. 1-800-TIVOLI-8
"Gerlach, Ingo" <Ingo.Gerlach AT gedas DOT de> on 11/30/2000 08:57:48 AM
Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>
To: "IBM NetView Discussion (E-Mail)" <nv-l AT tkg DOT com>
cc: (bcc: Gareth Holl/Tivoli Systems)
Subject: [NV-L] Jetty Logfile
Hello all,
since we've update our Netview 6.0 to 6.0.1 (on Sun Solaris 2.7 )
the /usr/OV/www/log/jetty.log grow's rapidly.
Wich variable in the JettyServer.prp must be set to limit the
logfile size eg. to 500KB ?
Thanks
Ingo Gerlach
-------------------------------
gedas
your IT partner
CC Systemintegration
D-38440 Wolfsburg, Alessandro-Volta-Str. 7
phone: +49-5361-40 1711
fax: +49-5361-186-988
<mailto:Ingo.Gerlach AT gedas DOT de>
<http://www.gedas.net/>
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|
|
|