?
Solved

log4j appender additivity

Posted on 2007-12-01
1
Medium Priority
?
4,283 Views
Last Modified: 2013-12-29
Here is part of my log4j.properties file

# Set root logger level to INFO and its appenders to A1, A2.
log4j.rootLogger=INFO, A1, A2
log4j.logger.rwong.broker.stats=INFO, A3
log4j.logger.rwong.broker.historical=INFO, A4

I don't want classes in the historical and stats packages to use the appenders of the root logger.
How do I set the appender additivity to do this?
0
Comment
Question by:IgorY
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
malfunction84 earned 2000 total points
ID: 20403214
log4j.additivity.rwong.broker.historical=false
log4j.additivity.rwong.broker.stats=false
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question