Every time I start up an agent, the log4j2.xml gets overwritten with the original deployed file, erasing any customizations I have made. I am able to make changes after the agent is started, but when the next time I restart the agent, it is replaced again.
This is problematic because I made a change to the logging to hide spurious OS-level warnings (on recommendation of this forum), and now I see that goes away on agent startup:
Logger name="oshi.software.os.linux.LinuxFileSystem" level="ERROR"
I do not think this is expected behavior. I do not know how long this has been going on. I only noticed it because I tried to turn on debug logging to prepare to report a different error.
I am using QB 14.0.23, and I have seen this behavior on Windows, Ubuntu, and AIX.