Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Project

Logging

ASP.NET Zero uses Log4Net for logging as default. Configuration is defined in log4net.config file in the .Web project. It writes all logs to App_Data/Logs/Logs.txt folder of web site as default. When you publish your project, remember to configure write permission to Logs folder.

Check logging documentation to see how to inject ILogger and write logs.

Contributors


Last updated: March 22, 2019 Edit this page on GitHub
In this document