This discussion is archived
0 Replies Latest reply: Jan 22, 2013 3:41 PM by 986226 RSS

Using Log4J in Weblogic 12c

986226 Newbie
Currently Being Moderated
Hi. I'm trying to convert an application that uses Log4J to Weblogic 12c and have been having difficulty changing the Severity Level in the Admin Console. I have configured a log4j.properties file to use the ServerLoggingAppender and set the location of the properties file in the Weblogic startup. I've also specified Log4J as the Logging Implementation.

log4j.rootLogger=INFO, server

log4j.appender.server=weblogic.logging.log4j.ServerLoggingAppender

I can see output from my application in the console and the server log file, but when I try to change the Severity Level to Debug for any of the destinations, the output never changes. It's as if the INFO level that is set in the log4j.properties doesn't get overridden.

Any suggestions would be appreciated

Thanks,

Herm

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points