Re: Logging some packages to File

2010-05-29 Thread Jacob Kjome
8 > > "A wrong note played hesitatingly is a wrong note. A wrong note played > with conviction is interpretation." > > > > > > fmarchioni > 05/27/2010 09:10 AM > Please respond to > "Log4J Users List" > > > To >

Re: Logging some packages to File

2010-05-27 Thread Douglas E Wegscheid
respond to "Log4J Users List" To log4j-user@logging.apache.org cc Subject Re: Logging some packages to File Hi all, thanks a lot for your reply. I have corrected the configuration accordingly so that loggers are defined for the two main packages: log4

Re: Logging some packages to File

2010-05-27 Thread fmarchioni
Hi all, thanks a lot for your reply. I have corrected the configuration accordingly so that loggers are defined for the two main packages: log4j.rootCategory=DEBUG log4j.category.hibernate.objects=DEBUG,A2 log4j.category.iceObjects=DEBUG,A2 . However the file log4j.properties doesn't get pi

Re: Logging some packages to File

2010-05-26 Thread Jacob Kjome
quot;Jacob Kjome" 05/26/2010 02:19 PM Please respond to "Log4J Users List" To "Log4J Users List" cc Subject Re: Logging some packages to File First, I would set "log4j.rootCategory" to "INFO" or "WARN" and lower the thresho

Re: Logging some packages to File

2010-05-26 Thread Douglas E Wegscheid
rpretation." "Jacob Kjome" 05/26/2010 02:19 PM Please respond to "Log4J Users List" To "Log4J Users List" cc Subject Re: Logging some packages to File First, I would set "log4j.rootCategory" to "INFO" or "WARN" and lo

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