Agent Logging

The agent logging is by means of the Java log4j framework. When starting the agent, you must specify the command line parameter log4j=<PATH-TO-LOG4J.PROPERTIES-FILE>

By default, a log4j.properties file is supplied in the agent bin directory. This file is configured for INFO level logging on all classes, with DEBUG level set for the remoting classes. The log4j.properties file is configured to send all log output to a logfile in the agent logs directory called rapiddeploy-remote-agent.log.

If you are familiar with log4j, you may amend this file to meet your logging requirements. This file does not influence the logging levels of your deployment job, which are specified in the projects log4j.properties file on the RapidDeploy framework server.

To increase general logging levels, change the rootLogger from INFO to DEBUG:

        log4j.rootLogger=DEBUG, logfile

To decrease general logging levels, change the rootLogger from INFO to WARN or ERROR:

        log4j.rootLogger=WARN, logfile

Further reading