Viewing Build Agent Logs
Last modified: 20 April 2023TeamCity uses Log4J for internal logging of events. Default build agent Log4J configuration file is <agent home>/conf/teamcity-agent-log4j.xml
Build agent logs are placed into <agent home>/logs
directory.
Log Files
File name | Description |
---|---|
| General build agent log |
|
|
| log of the build agent upgrade (logged by the upgrading process) |
| log of the agent's monitoring/launching process |
| (only present when the agent is run as Windows service or by Java Service Wrapper) output of the process build agent launching process |
You can configure location of the logs by altering the value of teamcity_logs property (passed to JVM via -D
option). You can also change Log4J configuration file location by changing value of log4j.configuration property. See corresponding documentation Configuring Build Agent Startup Properties on how to pass the options.
For additional option on logging tweaking please consult TeamCity Server Logs section.