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
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
>
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?
**
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
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
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
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
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
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
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
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
11 matches
Mail list logo