Suppressing Log4J console output.
1 posts in topic
Flat View  Flat View

Posted By:   John_Grath
Posted On:   Friday, December 12, 2003 06:34 AM

Hi, I am using Log4J to output to a file while trying to suppress console output. However, I can't suppress console output. I am using OC4J and all my settings are in the Log4J properties file. Any help is appreciated. John

Re: Suppressing Log4J console output.

Posted By:   Prasanna_Talakanti  
Posted On:   Tuesday, December 16, 2003 12:52 PM

Hi John,
It would be more help ful if you could post your log4j.properties, Any way let me take a stab at what i think might stop those console messages

log4j.rootCategory=debug, Appender1, Appender2

# Appender1 writes to console, comment this line below

#Appender2 writes to file

If your log4j is any thing like above, comment out the line which says ConsoleAppender , good luck
About | Sitemap | Contact