Search code examples
solace

solace - logging in weblogic server console


I have placed the solace jar files in the below location :

  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 :

Solution

  • The log4j.properties file should be contained somewhere in the Weblogic server's CLASSPATH. You can enable the Java system property "-Dlog4j.debug" to see debug level log4j logs. This will tell you where the properties file is being read from.

    If the following is contained in the correct log4j.properties file, you should only be seeing ERROR and FATAL level Solace JMS and Solace JCSMP logs. You should not be seeing INFO level Solace JMS or Solace JCSMP logs on startup.

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