AnsweredAssumed Answered

How to stop Java Agent writing to native_stderr.log

Question asked by Suresh.Subramaniam on May 11, 2012
Latest reply on Apr 22, 2015 by Hiko_Davis
How do we stop Introscope Java Agent writing to the native_stderr.log and systemOut.log. I hope the below might help in this, if any one tried already please do let me know.

log4j.logger.IntroscopeAgent=INFO, logfile --> removing console, so that it will not print

Comment out the below lines, stops writing to the WAS log files for the SystemOut, native_stderr log files.

log4j.appender.console=com.wily.org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=com.wily.org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss a z} [%-3p] [%c] %m%n
log4j.appender.console.target=System.err

I hope this should stop the Java agent from writing to the native_stderr and SystemOut.log files.

Thanks
Suresh.S

Outcomes