This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
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: 928

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: 928

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:

 
Have you checked out Aspose?
 
subject: Weblogic Reads Log4j.properties File, But does not use file appender within it
 
It's not a secret anymore!