EXM logging
Version: 10.4
The Email Experience Manager (EXM) has its own dedicated log file that is stored in the data/logs
folder. The name of the log file is generated automatically in this format: Exm.log.<date>.<time>.txt.
Note
Any exceptions that EXM does not catch appear in the Sitecore log file, which is also located in the data/logs
folder.
You can configure EXM logging, for example the format of the log file name, in the Sitecore.EmailExperience.Core.config
file, in the log4net
section:
RequestResponse
<log4net>
<logger name="Sitecore.EXM" additivity="false">
<level value="INFO" />
<appender-ref ref="ExmLogFileAppender" />
</logger>
<appender name="ExmLogFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
<file value="$(dataFolder)/logs/Exm.log.{date}.txt" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n" />
</layout>
<encoding value="utf-8" />
</appender>
</log4net>