Icon

You are viewing the documentation of TeamCity 2018.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix links to other doc versions

...

Info
titleEnable Debug in Server Logs

In the web UI, go to Administration | Diagnostics page. On the Troubleshooting tab, choose a logging preset, view logs under Server Logs subsection.
If it is not possible to enable debug logging mode from the TeamCity web UI, refer to Changing Logging Configuration section to learn how to adjust logging options manually.

...

TeamCity uses log4j library for the logging and its settings can be customized.

By default, log files are located under the <TeamCity Server home>/logs directory.

...

teamcity-server.log

General server log

teamcity-activities.log

Log of user-initiated and main build-related events

teamcity-vcs.log

Log of VCS-related activity

teamcity-cleanup.log

contains clean-up-related log

teamcity-notifications.log

Notifications-related log

teamcity-clouds.log

(off by default) Cloud-integration-related log

teamcity-sql.log

(off by default) Log of SQL queries, see details

teamcity-http-auth.log

(off by default) Log with messages related to NTLM and other authentication for HTML requests

teamcity-xmlrpc.log

(off by default) Log of messages sent by the server to agents and IDE plugins via XML-RPC

vcs-content-cache.log

(off by default) Log related to individual file content requests from VCS

teamcity-rest.log

(off by default) REST-API related logging

teamcity-freemarker.log

(off by default) Notification templates processing-related logging

teamcity-agentPush.log

(off by default) Logging related to agent push operations

teamcity-remote-run.log

(off by default) Logging related to personal builds processing on the server

teamcity-svn.log

(off by default) SVN integration log

teamcity-tfs.log

(off by default) TFS integration log

teamcity-starteam.log

(off by default) StarTeam integration log

teamcity-clearcase.log

(off by default) ClearCase integration log

teamcity-ldap.log

LDAP-related log

teamcity-nuget.log

NuGet-related log

teamcity-maintenance.log

(off by default) logs of back-up/ restore/ migration performed with maintainDB tool

teamcity-maintenance-truncation.log

(off by default) contains extended information on possible data truncation during back-up/ restore/ migration performed with maintainDB tool

teamcity-versioned-settings.log

(off by default) contains information on synchronization of the project settings with the version control

teamcity-ws.log

logs related to communication between browsers and the TeamCity server using the WebSocket connection

teamcity-issue-trackers.loglogs related to communication between TeamCity and configured issue trackers

Other files can also be created on changing Logging Configuration.

Some of the files can have ".N" extensions - that are files with previous logging messages copied on main file rotation. See maxBackupIndex for preserving more files.

...

If you want to fine-tune the log4j configuration, you can edit <TeamCity Server home>/conf/teamcity-server-log4j.xml file (for .war TeamCity distribution, see the related section). If the server is running, the log4j configuration file will be reloaded automatically and the logging configuration will be changed on the fly (some log4j restrictions still apply, so for a massive change consider restarting the server).

...