on 2018 Aug 21 11:55 AM
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
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.