Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

log level per appender  RSS feed

 
Takeshi Toyohara
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ahhh - apparently its not "Threshold" but "threshold"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!