cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to configure Hybris to use composite log4j2 configurations?

Former Member
759

I am trying to use logging configurations from local.properties and hybris-log4j2.xml config file together, is that possible in hybris? First file should be hybris-log4j2.xml, where hybris should load all logging configurations during startup. Additionally, new loggers and changes in the log level should be configured using local.properties (or another properties file) and should overwrite settings from hybris-log4j2.xml file. From log4j2, there is a possibility to use composite configurations to load more than one configuration file. http://logging.apache.org/log4j/2.x/manual/configuration.html#CompositeConfiguration

But I don't know how to activate this, because the configuration of log4j2.configurationFile has no impact on the logging behaviour.

Thanks and Greetings, Christian

Accepted Solutions (0)

Answers (0)