log4j.properties文件应该包含在Weblogic服务器的CLASSPATH中。您可以启用Java系统属性"-Dlog4j.debug"以查看调试级别的log4j日志。这将告诉您从哪里读取属性文件。
我已将solace jar文件放置在以下位置:
C:oracle10.3.6Middlewareuser_projectsdomainssolace_domainlib (solace jar files)
If I have the log4j.properties in application level, how this will effect the logging ?
As I start the weblogic server it starts printing the INFO login in the server console ?
Here is my log4j.properites file :
如果以下内容包含在正确的log4j.properties文件中,那么您应该只看到ERROR和FATAL级别的Solace JMS和Solace JCSMP日志。您不应该在启动时看到INFO级别的解决方案JMS或解决方案JCSMP日志。
log4j.category.com.solacesystems.jms=ERROR
log4j.category.com.solacesystems.jcsmp=ERROR