Documentation Center

Enabling logging for UGC

By default, the installer has set up User Generated Content to not produce any logs, because logging adversely affects performance. However, if you find yourself faced with an implementation that does not function as you would like, and you want to obtain logging, you can enable logging.

Procedure

  1. Access %TRIDION_HOME% (defaults to C:\Program Files (x86)\Tridion\).
  2. Navigate to the subdirectory web\WebUI\WebRoot\bin\.
    You see a file Tridion.UGC.Model.dll in this location.
  3. Back up Tridion.UGC.Model.dll to a safe location.
  4. Copy the file Tridion.UGC.Model.dll from the subdirectory trace\ to the current location.
  5. Perform an IIS reset.

Results

User Generated Content now writes log entries to the existing log file Tridion.Web.Trace, located in the web\WebUI\WebRoot\ subfolder of the Content Manager root location. Remember to disable logging by switching the DLL files around once you have finished debugging User Generated Content. This will improve performance.