EPiWiki.se  - EPiServer notes shared with others
 

Logging

[Edit]
The logging functionality in EPiServer CMS is based on Apaches product Log4net.

Configure – How to configure the log handling of EPiServer CMS.

Start logging for a EPiserver CMS site


Uncomment one of the loggappenders in the EPiServerLog.config
E.g. Change

<log4net>
   <root>
      <!-- appender-ref ref="fileLogAppender" / -->

to

      <appender-ref ref="fileLogAppender" />

Set a log level for the root logger
To change the logging level set the root loggers level to one of the folowin values:
Off, Fatal, Error, Warn, Info, Debug, All
E.g. Change

    <level value="Warn" />

to

    <level value="All" />


Tips & trix: I think the absolutely best way to read a log file is done by the tail
command in Cygwin

Create a log message programmatically - how-to create your own log message for a
application.
Logging on a EPiServer Enterprise multi site
Version author:
Mattias Lövström

EPiServer version

All