You can do this today. See 
http://logging.apache.org/log4j/2.x/manual/configuration.html#CompositeConfiguration
 
<http://logging.apache.org/log4j/2.x/manual/configuration.html#CompositeConfiguration>.

> On Aug 6, 2018, at 5:55 AM, Fröstl, Christian 
> <christian.froe...@accenture.com> wrote:
> 
> Hi everybody,
> 
> I just wanted to know if it is planned to combine different logging 
> configuration in the future, or if it is still possible today?
> 
> Example:
> - Base logging configuration is a log4j2.xml from the classpath
> - Logging could be extended by adding new loggers to the .properties files
> 
> Could this be a valid case in the future of log4j2 or is there a strict 
> separation between .properties and .xml files? (or even properties and JSON 
> files)
> 
> Thanks and greetings,
> Christian
> 
> 
> ________________________________
> 
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise confidential information. If you have received it 
> in error, please notify the sender immediately and delete the original. Any 
> other use of the e-mail by you is prohibited. Where allowed by local law, 
> electronic communications with Accenture and its affiliates, including e-mail 
> and instant messaging (including content), may be scanned by our systems for 
> the purposes of information security and assessment of internal compliance 
> with Accenture policy. Your privacy is important to us. Accenture uses your 
> personal data only in compliance with data protection laws. For further 
> information on how Accenture processes your personal data, please see our 
> privacy statement at https://www.accenture.com/us-en/privacy-policy.
> ______________________________________________________________________________________
> 
> www.accenture.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
> 

Reply via email to