Enabling Detailed Logging for .NET Runners
To enable debug logging for investigating process launch issues for .Net-related runners:
set 'teamcity.agent.dotnet.debug' Configuration and Build Parameters to 'true' in a build configuration or on agent. The detailed logging should be printed into build log on the next build.
Alternatively, you can adjust log4net configuration directly:
Open the
<agent home>/plugins/dotnetplugin/bin
folder.Open
teamcity-log4net.xml
with any text editor, for example, Microsoft Notepad.Make a backup copy.
Set logging level to
DEBUG
. To do so, replace the original lines:<root> <level value="WARN" /> <appender-ref ref="ConsoleAppender" /> <appender-ref ref="RollingFileAppender" /> </root>
with the following new ones:<root> <level value="DEBUG" /> <appender-ref ref="ConsoleAppender" /> <appender-ref ref="RollingFileAppender" /> </root>