Closed marcusvnac closed 4 years ago
Would this get into a loop of trying to delete a log, throwing an exception for some reason, which would then cause Elmah to create a new log, calling the DeleteOldFiles function, and then failing again?
Hi @djsmith , looking at the code I believe that this problem could happen. Any suggestions?
Yea, I have some ideas, I'll put together a pull request for you.
Great @djsmith ! Who knows after that @atifaziz could accept this code to be merged into main code.
Implementing a feature to delete old XML files based on the size parameter.