Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Child pages (Children Display)

Starting and stopping the agent

The scripts located in side the agent base directory are used for starting and stopping the agent.

Starting

Linux

Code Block
cd $AGENT_HOME

./StartFlexDeployHttpsAgent.sh

Windows

Code Block
cd %AGENT_HOME%

StartFlexDeployHttpsAgent.bat

Stopping

Linux

Code Block
cd $AGENT_HOME

./StopFlexDeployHttpsAgent.sh

Windows

Code Block
cd %AGENT_HOME%

StopFlexDeployHttpsAgent.bat

Troubleshooting

Run the following command to confirm if the agent is running, as well as see launch arguments.

Code Block
ps -ef | grep java.*https.agent

Logs

Viewing Logs

View the logs by going to AGENT_HOME/apache-tomcat-flexdeploy-https-agent/logs

Agent logs will be in the same pattern as FlexDeploy logs, flexdeploy.<number>.log with 0 being the most current log.

Catalina logs as well as garbage collection logs will also be located here.

Changing log level

To change the log level adjust the AGENT_HOME/apache-tomcat-flexdeploy-https-agent/conf/logging.properties file. Change the following lines to the desired log level.

Code Block
languagenone
# FlexDeploy levels
.level=INFO # change this one for every other logger then the agents
flexagon.level=INFO# change this one and the next one for just agent logging directly
com.flexagon.level=INFO

Then restart the agent for it to take effect.