Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

logging customizations lost on agent startup #4657

drdt ·

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.

  • replies 3
  • views 50
  • stars 0
robinshen ADMIN ·

Agent log4j config will always be synced with server. Please make this change at server side instead.

drdt ·

What if I have different settings for different agent platforms? In this case I am testing a specific agent and don't want changes to be applied universally.

However, there is definitely no desire to reduce the oshi.software.os.linux.LinuxFileSystem logging on the server side.

robinshen ADMIN ·