• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

log level per appender

 
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"
 
    Bookmark Topic Watch Topic
  • New Topic