How do I get debug messages from the Jopr Agent?
The easiest and quickest way to get your agent to start logging debug messages is, before starting your Jopr Agent, to set the environment variable RHQ_AGENT_DEBUG to “true”. Now when you start the agent, both the launcher scripts and the agent itself will output debug messages. When you use this environment variable, the agent will use an internal log4j configuration file called “log4j-debug.xml” which is located in the agent’s main jar file. If you want more fine-grained control over what log4j categories have DEBUG priority, you can directly edit the conf/log4j.xml file (modifying this file requires an agent restart in order to pick up the changes). You must not set RHQ_AGENT_DEBUG if you want the agent to use this log4j.xml file (setting that environment variable will cause the agent to override this log4j.xml with the internally configured log4j-debug.xml file which enabled all categories for the DEBUG level). The log messages can be found in the log files located in the