lemonzone2010 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Missing appender for logger net.bukk.javamelody #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install jenkins plugin "Monitoring" (Jenkins' monitoring with JavaMelody. 
Open report after installation. ) 1.48.0
2. restart jenkins

Results in Warning in jenkins log:
log4j:WARN No appenders could be found for logger (net.bull.javamelody).
log4j:WARN Please initialize the log4j system properly.

What version of the product are you using? On what application server, JDK,
operating system?

JDK 1.6
Linux CENTOS

Please provide any additional information below.

Bug seems not to depend on OS or JDK.

Original issue reported on code.google.com by npfist...@picturesafe.de on 28 Nov 2013 at 10:11

GoogleCodeExporter commented 9 years ago
The cause of this issue is that the Jenkins webapp currently includes log4j 
v1.29, because it is a dependency of acegisecurity v1.0.7.
And that Jenkins has no log4j.properties or log4j.xml files anywhere, to 
configure log4j.
And that the monitoring plugin has seen that log4j classes are found, so it 
logs a few messages with log4j.
So log4j warns about the missing configuration.

Perhaps Jenkins should include a default log4j.xml for libraries 
(acegisecurity) and plugins, which would want to log with log4j. A particular 
plugin should probably not include log4j.xml itself.

Anyway, this is just a warning about log4j configuration and it does no harm to 
Jenkins or to the plugin. So resolving as won't fix.

Original comment by evernat@free.fr on 19 Dec 2013 at 4:58