wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes how to debug log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to debug log4j" Watch "how to debug log4j" New topic
Author

how to debug log4j

sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
we use log4j with our application.Our log4j stopped creating logs , the same log4j works when I deploy in my local weblogic server , here code for my log4j


this same log4j is working fine in my local weblogic in windows , but not in weblogic from unix box my staging server, please suggest how can debug this ? can unix box stop new logs from getting created ? Please suggest me how to debug this
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
Does your directory /u01/oracle/logs/artms/ exist and does it have the correct permissions to write to it? Is your weblogic log files showing any errors?
sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
Tom Reilly wrote:Does your directory /u01/oracle/logs/artms/ exist and does it have the correct permissions to write to it? Is your weblogic log files showing any errors?


Yes it has the directory and it used to write before , it stopped all of sudden , we tried restarting the server but it does not write any new logs, weblogic did not show any erros.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to debug log4j
 
Similar Threads
log4j - creating my own file
Odd validation error in log4j.xml
how to disable the log
struts 2 and log4j
Log4j : specific class to log on FileAppender other classes log on Console Appender.