NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

log4j.properties where does it go?

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Steve289



Joined: 30 Oct 2009
Posts: 7

PostPosted: Sun Nov 15, 2009 4:23 am    Post subject: log4j.properties where does it go? Reply with quote

I have a simple command line java app that uses log4j logging. I created a log4j.properties file but it doesn't seem to be found because I am seeing "log4j:WARN No appenders could be found for logger" when I run it. I'm using log4j with my web app and I put it in the WEB-INF/classes folder and this works. But in my command line app I don't know the search rules. I have it in Source Packages/<default package> but this doesn't work. Any ideas what I need to do?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo