[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

log4j appender additivity

Posted on 2007-12-01
1
Medium Priority
?
4,296 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
A solution for Fortify Path Manipulation.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

649 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