Should I Delete Old Log Files via NLog Archiving Feature or Scheduled Task?
I’ve a .net framework application which writes tons of logs. My log files rolling hourly, and generating by NLog. These logs are critical for last 15 days. Older than 15 days of logs are inaccurate/useless. Due to the frequency of logging structure, my log folder is going to be huge. Also I can’t access the production environment server, so I want to do a robust and reliable solution for deleting older log files. Currently I use the config below;