Hi, I am currently looking to configure Geode (standalone) to use custom logging as per the documentation at https://geode.apache.org/docs/guide/15/managing/logging/configuring_log4j2.html. The motivation behind this is to use a consistent logging pattern across all of our applications as well as specifying a time based rolling policy.
I have specified the -Dlog4j.configurationFile property accordingly and the logs are output as I would expect using the custom configuration. However, there still appears to be a default "locator.log" file created despite not explicitly setting any of the log-* properties. By the looks of the logs a default value for the log-file property is being set by the Launcher. Please can you confirm if it is the expected behaviour to have two log files? I was expecting to see a single log file based on the custom configuration defined in the log4j2.xml file. If the expectation is that there will be two log files (one based on log4j2.xml and another based on default log-* properties) then am I supposed to specify log-* properties in addition to log4j2.xml to control the default file (i.e. max file size, disk space limit etc)? If these properties are set, will there be any impact the logging behaviour defined in log4j2.xml? Thanks in advance, Phil
