Show / Hide Table of Contents

Logging

The Web.config file included in the installation package is pre-configured to log warnings and errors to log files placed in a Logs subfolder in the installation directory. The folder and log files will be created when the first log row is written.

To change the log level, edit this line in the Web.config file:

<log4net>
  <root>
    <level value="WARN" /> <!-- set log level here: DEBUG, INFO, WARN, ERROR -->
  • ERROR - Exceptions
  • WARN - Potential errors that were auto-corrected
  • INFO - Operations performed by the user
  • DEBUG - Entry and exits from methods, parameters used and additional error logging for debugging purposes

Note: The Platina Meeting Management components will log debug like messages at the info level. Leave the level at WARN or ERROR in production.

To change the location of the files, change the paths on these lines:

<log4net>
  <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
    <file value="Logs\Platina.StandardAPI.log" />
  ...
  <appender name="PlatinaCacheAppender" type="log4net.Appender.RollingFileAppender">
    <file value="Logs\CacheLog.log" />

The cache log is where log messages from the Platina Redis cache component are written. This is generally not needed for debugging the API. Just remember to clear the cache after making manual changes in the database (e.g. changing the authorized user name).

Note: The default Logs sub-folder is accompanied by a corresponding hiddenSegments rule to prevent remote access. This rule is not necessary if the logs are placed in an unpublished folder.

Back to top Created by Formpipe