Hi, It's been a while that I've been using Apache Log4j 2 using no configuration file. This is quite useful in the context of embedded services and small application. Basically, all the configuration is done via code and using standard Apache Log4j API.
I thought it might be good to extract a very small module to present how I have done this so far. The result is available at https://github.com/nobeh/log4j-configuration-builder I'd be happy to work on it further as a contribution to the core library and consider it to be merged into the library. I'd appreciate your feedback and thoughts on this. Thanks, Behrooz