You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Franz van Betteraey <fv...@web.de> on 2017/04/12 08:01:52 UTC
Configure log4j2 by code - only - in case of missing configuration
Hi all,
I am looking for a possibility to configure the log4j2 system programatically in case no configuration file was found.
I thought about using the ConfigurationFactory but had no luck so far.
I posted a question on SO here:
http://stackoverflow.com/questions/43363026/configure-log4j2-by-code-only-in-case-of-missing-configuration
If anybody can provide some help this would be awesome.
Thanks and kind regards
Franz
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org