Re: Logging some packages to File

2010-05-26 Thread Jacob Kjome
You're right.  I missed that one, though I did see your other email shortly after I sent mine.  Your answer is spot on and the user should start with your suggestions before considering my email. Jake On Wed, 26 May 2010 14:54:09 -0400 Douglas E Wegscheid wrote: even if this configuration ge

Re: Logging some packages to File

2010-05-26 Thread Douglas E Wegscheid
even if this configuration gets picked up, it won't create the file. No appenders are referenced anywhere. Douglas E Wegscheid Lead Technical Analyst, Whirlpool Corporation (269)-923-5278 "A wrong note played hesitatingly is a wrong note. A wrong note played with conviction is interpretation."

Re: Logging some packages to File

2010-05-26 Thread Jacob Kjome
First, I would set "log4j.rootCategory" to "INFO" or "WARN" and lower the threshold as needed for the stuff you are interested in (which you have done, but was unnecessary as long as you set the root category/logger to "DEBUG"). If you are not seeing the log file get created, then your properti

Re: Logging some packages to File

2010-05-26 Thread Douglas E Wegscheid
log4j.category.hibernate.objects and log4j.category.iceObjects are set twice, the second setting has no appenders specified. You also have no appender for the root (which may or may not be what you want) put together a standalone program that uses this configuration, and run it with log4j.debug

Logging some packages to File

2010-05-26 Thread fmarchioni
Hi all ! I have the need to write logs from some packages in a file so I have elaborated this log4j.properties file : log4j.rootCategory=DEBUG #I want to log information from packages hibernate.objects.* and from iceObjects.* log4j.category.hibernate.objects=INHERITED,A2 log4j.category.iceObject