安慰 - 登录weblogic服务器控制台

时间:2016-05-05 07:03:55

标签: solace

我已将solace jar文件放在以下位置:

  C:\oracle10.3.6\Middleware\user_projects\domains\solace_domain\lib (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 :

1 个答案:

答案 0 :(得分:0)

log4j.properties文件应该包含在Weblogic服务器的CLASSPATH中。您可以启用Java系统属性" -Dlog4j.debug"查看调试级别log4j日志。这将告诉您从哪里读取属性文件。

如果正确的log4j.properties文件中包含以下内容,则应该只能看到ERROR和FATAL级别的Solace JMS和Solace JCSMP日志。你不应该在启动时看到INFO级别的Solace JMS或Solace JCSMP日志。

log4j.category.com.solacesystems.jms=ERROR
log4j.category.com.solacesystems.jcsmp=ERROR