I'm pretty sure the root logger has an implicit default configuration if it's missing from your config file.
On 6 August 2014 15:57, Arwen Pond <ap...@book.com> wrote: > Do you have to specify a root logger in the configuration? > > additivity="false" solved my issue. Thanks. > > -----Original Message----- > From: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Sent: Wednesday, August 06, 2014 1:17 PM > To: Log4J Users List > Subject: Re: Set the log level based on command line args > > I should also add that your configuration didn't show a root logger. > There is always a root logger so I suspect you are also logging to it. If > you make all your loggers be configured with additivity="false" that should > stop happening. > > Ralph > > On Aug 6, 2014, at 1:13 PM, Ralph Goers <ralph.go...@dslextreme.com> > wrote: > > > Please see > http://logging.apache.org/log4j/2.x/manual/configuration.html#Additivity > > > > Ralph > > > > > This electronic mail message contains information that (a) is or > may be CONFIDENTIAL, PROPRIETARY IN NATURE, OR OTHERWISE > PROTECTED > BY LAW FROM DISCLOSURE, and (b) is intended only for the use of > the addressee(s) named herein. If you are not an intended > recipient, please contact the sender immediately and take the > steps necessary to delete the message completely from your > computer system. > > Not Intended as a Substitute for a Writing: Notwithstanding the > Uniform Electronic Transaction Act or any other law of similar > effect, absent an express statement to the contrary, this e-mail > message, its contents, and any attachments hereto are not > intended > to represent an offer or acceptance to enter into a contract and > are not otherwise intended to bind this sender, > barnesandnoble.com > llc, barnesandnoble.com inc. or any other person or entity. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > -- Matt Sicker <boa...@gmail.com>