Re: newbie question

2006-03-16 Thread Curt Arnold
On Mar 16, 2006, at 5:02 PM, Gunter, Tony wrote: Whoah! I think I understand. You create two hierarchies, load each one with its own property file using a configurator, and then you have two root loggers, correct? It would be much simpler to only have one hierarchy and one configurat

Re: newbie question

2006-03-16 Thread James Stauffer
That is possible but you can have them share the same root also. I don't use the properties format so if I tried to give you an example it would probably have errors. On 3/16/06, Gunter, Tony <[EMAIL PROTECTED]> wrote: > > Whoah! I think I understand. You create two hierarchies, load each one >

RE: newbie question

2006-03-16 Thread Gunter, Tony
Whoah! I think I understand. You create two hierarchies, load each one with its own property file using a configurator, and then you have two root loggers, correct? > Do you have any examples where two logging hierarchies are defined in > the properties file? **

log4j not logging 3rd-party-tool-messages in an webapp under tomcat 5.5

2006-03-16 Thread Sven Schliesing
Hi, I have this log4j.properties-file within my webapp: --- log4j.rootLogger=DEBUG,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layou

RE: newbie question

2006-03-16 Thread Gunter, Tony
Do you have any examples where two logging hierarchies are defined in the properties file? Thanks! -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 1:09 PM To: Log4J Users List Subject: Re: newbie question Create 2 logger higherarchies. O

Re: newbie question

2006-03-16 Thread James Stauffer
Create 2 logger higherarchies. One normal and one for business events. Then it should be easy to split them into two separate files. On 3/16/06, Gunter, Tony <[EMAIL PROTECTED]> wrote: > > I want to use log4j in my application to write to two separate log > files, one OHCRAP log file for techies

newbie question

2006-03-16 Thread Gunter, Tony
I want to use log4j in my application to write to two separate log files, one OHCRAP log file for techies to dig through with warnings, errors, and debugging, and one informational log file that will log business events for possible reporting use at a later date. I purchased a copy of the log4j

Re: Chainsaw SocketHubAppender triples messages

2006-03-16 Thread Jacob Kjome
Note the change in the subject to what the actual problem is. Anyway, I've seen behavior myself before when using the LogFilePatternReceiver. However, I never tracked down the cause. I'm glad someone was able to reproduce the issue. Hopefully Scott or Paul can tease out the root cause and get

Problem: Log4J on windows, rolling fails, files do get overwritten

2006-03-16 Thread Stefan . Kolip
Hi, I have multiple java appps running in same VM. Some should write to same log file. On windows 2003 Server. As soon as more then one application is accessing a log file, the rolling of same does not work (no longer). The file do get overwritten. Is that a known problem? I assume the renaming o

Re: WELCOME to log4j-user@logging.apache.org

2006-03-16 Thread John Smith
I have a question to Chainsaw. My config file has this setting: The funny thing is that I receive 3 logging messages instead of 1. Each logging I receive with Chainsaw is triple instead of single. Whats wrong? The console appender logs correctly, just single, not tr

Re: log file is huge

2006-03-16 Thread Norbert Toth-Gati
You should try to break down the big log file into different log files, which will save messages for a specific category - these may be groupped by packages, or the way you think it will make more sense. You may not need a cool book that teaches it, you have to figure it out which log messages mak