aspose file tools*
The moose likes Other Open Source Projects and the fly likes log level per appender Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log level per appender" Watch "log level per appender" New topic
Author

log level per appender

Takeshi Toyohara
Greenhorn

Joined: Feb 03, 2002
Posts: 21
Does anyone know if there is built in functionality to have different appenders listen at different log levels? Say for example, I want my console to only spit out info or higher msgs, while i want debug and higher in my logfile.
do i have to create a wrapper around the appenders i want to use, or is this already available?
i cant seem to google anything and i didnt see anything in this forum already. thanks much
---
oh i did try the Threshold=WARN declaration in the configuration file, but it didnt seem to work. i tried using it on log4j v 1.2.5 and 1.2.8.
thanks
[ March 11, 2003: Message edited by: Takeshi Toyohara ]
Takeshi Toyohara
Greenhorn

Joined: Feb 03, 2002
Posts: 21
ahhh - apparently its not "Threshold" but "threshold"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log level per appender