Re: Log Utility

2008-04-07 Thread Maarten Bosteels
Or you can use log4j via SLF4J: void *debug*(String format, Object arg1, Object arg2

Jim McEvoy is out of the office.

2008-04-07 Thread Jim . McEvoy
I will be out of the office starting 04/07/2008 and will not return until 04/10/2008. I will respond to your message when I return. In the meantime, if you need immediate assistance please contact Kathy Boak at [EMAIL PROTECTED] -

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Robert Pepersack
Hi Jake, Thanks for your response. I did some reading from my copy of "The complete log4j manual". Chapter 8 has a solution to this problem: create a RepositorySelector. But, for me this is only a partial solution. This is because I'm using the Spring Framework's IOC container to manage my

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Jacob Kjome
So, because you use Spring setter injection, you think you can't name your loggers in a custom way? Why not use a combination of constructor and setter injection? I'm not sure why you'd need a repository selector in this case anyway? What would be the selection criteria? Are you thinking thr

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Robert Pepersack
I got thinking about creating a custom RepositorySelector, because that's what the book suggests. Also, I want to keep using the log4j convention of using the fully qualified class name to name my loggers. That way I can manage the loggers in each hierarchy as everyone else does. Also, I'm us

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Bender Heri
Hi The problem of different log files within the same app does not arise on the "main" classes of each job (this can be configured very easy through different appenders), but in all underlying framework and helper classes. If the log outputs of these underlying classes should be separated too,

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Robert Pepersack
Yes, I saw your posting of PMSRepositorySelector. That's where I got the idea to use the MDC. The twist is that I'm using the Spring IOC container to create instances of my classes, including my Quartz jobs (Spring has classes that support Quartz). When the IOC container starts, it automatica

Re: Different Loggers for Different Instances of Same Class

2008-04-07 Thread Kevin Gutch
Hi, I am new to log4J. I have several Contexts running under Tomcat and each has its own log4j.xml file in the classes folder. If I set the priority value to anything besides 'debug'I seem to get all of my logging and WARNings in the catalina.out file. The Context specific files are created but

logging to catalica out only

2008-04-07 Thread Kevin Gutch
Hi, I am new to log4J. I have several Contexts running under Tomcat and each has its own log4j.xml file in the classes folder. If I set the priority value to anything besides 'debug'I seem to get all of my logging and WARNings in the catalina.out file. The Context specific files are created but