0
ajayak created
How to disable logging of all events in Logs file and only keep exception logs and logs that are added by Logger
?
Is it possible to write Logger
logs in seperate log files?
1 Answer(s)
-
0
Hi @ajayak
- AspNet Zero uses log4net as you know. You can set loglevel in log4net configuration to only log error logs.
logs that are added by Logger
I couldn't understand this. All logs are written by Logger.
Is it possible to write Logger logs in seperate log files?
As I said, all logs are written by Logger. So, you can define a pattern in log4net config to write it into a differnet file.