Documentation Center

Setting the logging level

By default, the C# and .NET Template Building Blocks produce log messages of the following log levels during publishing: Information, Warning and Error. When debugging, you may want to configure the log level so that it also logs Verbose debug messages.

About this task

Procedure

  1. On the Content Manager server machine, access the config\ subfolder of %TRIDION_HOME%.
  2. In this folder, open the file Tridion.ContentManager.config in a plain-text or XML editor. Find the following element: configuration > tridion.templating > debugging.
  3. Add a templatingLogLevel attribute to this element, and set it to the value Debug. For example:
    <debugging pdbDirectory="c:\Temp" templatingLogLevel="Debug" />
  4. Save and close the Tridion.ContentManager.config file.
  5. From the Windows Administrative Tools, access Services and locate the service called Tridion Content Manager Publisher. Restart this service.