1 Reply Latest reply on Apr 5, 2005 11:41 AM by starksm64

    Can I get JVM ouput through log4j?

    paulsmith001

      Hello,

      I would like to see when the garbage collector is run in my app running under JBoss. I have added "-verbose:gc" to the jvm opts, and I get the output from the jvm sent to the console. The reason I want the output to go via log4j is so that I can see the date/time the garbage collector ran. Is this possible?

      (-Xloggc: is no good to me as it doesn't output the time the gc ran, only the duration since the last run).

      Thanks,
      Bob