logging - Limiting Nlog internal log file size -


i've been tasked finding way manage internal log files nlog generating of our projects. files continuously being appended leading large files ~80 mb , up. after looking matter came across this issue on nlog's github specified layout variables aren't usable on nlog's internal log files.

is there other possible method handle every growing internal log files built in nlog?

edit: changing internallogfilelevel error warn reduced number of lines being written our internallogfiles.

currently there no builtin file size limit.

a work around disable writing internal log file , use internallogger.logwriter.

another option disabled internallogger (set off) , enable when there issues.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -