tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomas Straupis <>
Subject Xloggc?
Date Fri, 11 Oct 2002 15:13:13 GMT

  Had anyone of You tried logging GC actions to a file?

  Its stated in, that 
-Xloggc:file option has to be used for that. So I place next line into my 
tomcat4.conf file:
  JAVACMD="$JAVA_HOME/bin/java -Xloggc:/var/log/tomcat4/tomcat_garbage.log
  restart tomcat. Wait for some time (~3-4 days, with at least 30 users 
comming in and using my apps). But nothing seems to appear in that dir.
  Tomcat is writing other logs into that dir, so there shoud be no problems 
with permissions.

  Am I doing something wrong?

P.S. I'm using tomcat 4.0.4 on rh7.3 with suns jdk1.4.1.


Tomas Straupis

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message