| Author |
log4j - level restriction from upside
|
chono ken
Greenhorn
Joined: Jan 04, 2005
Posts: 6
|
|
Hi all,
how can I restrict debug level from "upside".
I want log into the first log file just levels INFO and down (<=INFO)
and into another log file just levels ERROR and up (ERROR<=)
I can restrict from downside, but I don't know how from upside?
I use log4j.properties file listed below.
I get two *.log files:
In the "errout.log" file I get errors and fatals - that's OK.
But in the "stdout.log" file I get debug, info, warn - that's OK - BUT ERRORS, FATALS too - I don't it want.
Please, help.
Thanks.
|
 |
chono ken
Greenhorn
Joined: Jan 04, 2005
Posts: 6
|
|
Please, any idea?
...Or this is so stupid question?
Thank You.
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
Have a search of this forum, the question has been answered several times before...
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: log4j - level restriction from upside
|
|
|