Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Appender Threshold unavailable

Status
Not open for further replies.

arnoldkesselaar

Programmer
Joined
Feb 21, 2006
Messages
1
Location
NL
Hi,

When a start the Log4J HierarchyDynamicMBean in the JConsole I get get "Threshold unavailable" with all my appenders. I therefore cannot set or get the thresholds for any of my appenders thourgh jconsole. When I set the threshold in the properies file it seems to work though. Any ideas??

Here is a sample of my config file:

log4j.rootCategory=INFO,STDOUT,LOGFILE,MBEAN


log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%d %p [%c] - <%m>%n
log4j.appender.STDOUT.Threshold=WARN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top