aspose file tools
The moose likes BEA/Weblogic and the fly likes Weblogic Reads Log4j.properties File, But does not use file appender within it Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Weblogic Reads Log4j.properties File, But does not use file appender within it" Watch "Weblogic Reads Log4j.properties File, But does not use file appender within it" New topic
Author

Weblogic Reads Log4j.properties File, But does not use file appender within it

salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 915

I have two appenders:

I am pretty sure weblogic Reads the log4j.properties file as i get output in Server console.

My way of refering to property file:


I searched the entire webserver directory, I didnt find "MyLogFile.log"
What am i doing wrong over here ?

My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 915

Problem solved, there was a problem with my log4j.properties file,
If it may help anyone, here is the corrected code:

old code:


New Code:

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Weblogic Reads Log4j.properties File, But does not use file appender within it
 
Similar Threads
How to log statements using log4j in file and console with different log levels?
log4j writing to multiple log
log4j refuses to write to file
Not able to save logs into .log file
log4j.properties: FileNotFoundException