• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
salvin francis
Bartender
Pie
Posts: 1210
10
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
salvin francis
Bartender
Pie
Posts: 1210
10
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic