• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

.NET API

Need Help?

Logging

This element controls log events. Logs are text files written at the given location that record events for information, such as a data update, as well as reporting any fatal errors. While it is not mandatory to include this element it is the most useful tool there is for diagnosing a problem.

AttributesMadatoryDescription
enabledNoA boolean value that controls if the log element is enabled or not. If 'false' the rest of the log element is ignored. This is mostly useful for debugging. Defaults to 'true'.
logFileYesThe location of the log file.
logLevelNoValues include Debug|Info|Warn|Fatal and control the level of information logged. Defaults to Fatal if not specified.

If it seems that the log is not being written check that the App Pool has appropriate permissions to modify the file and that the filepath is not read only.

To disable logging, simply remove the log element.