Configure log4j2 by code - only - in case of missing configuration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Configure log4j2 by code - only - in case of missing configuration

Franz van Betteraey
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: [hidden email]
For additional commands, e-mail: [hidden email]