I’m saving exceptions generated by Elmah as XML files.
Is there any way to configure it so that it automatically removes files older than X days? Or perhaps a max number of files in the directory? Or do i need to created a custom batch job that does this?
From the Elmah Project Site for ErrorLogImplementations. (Italics added for emphasis)
You will need to create a custom batch job that does this.