logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arwen Pond <ap...@book.com>
Subject Multiple configuration files?
Date Fri, 08 Aug 2014 18:28:05 GMT
I have multiple applications that use log4j.  Some depend on others.  For example application
A can be run independently and has a log4j config file under src/main/resources/log4j2.xml.
 Application B invokes application A but it has a different log4j config file in its resource
directory.

When there are multiple  log4j2.xml files in the path how are they used/found?  Are they additive?
 Does it just use the first one it finds?

Thanks,
Arwen



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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message