maoyuan121 / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Consider adding log management #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Could you please consider adding the following feature:

The ability to delete error logs (we don't want them to be infinite)
   Ex: - older than: 7 days, 1 month , 1 year etc
       - in period of time   1 Jan - 1 Feb

Original issue reported on code.google.com by Roland.B...@gmail.com on 29 Mar 2008 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 31 Mar 2008 at 7:24

GoogleCodeExporter commented 9 years ago
You can probably run a scheduled task to delete them as you wish.

Original comment by affan05@gmail.com on 22 Jun 2008 at 8:15

GoogleCodeExporter commented 9 years ago
...ditto to the orginal poster's idea...

...for now, I think we will have a one-way web service call, called on 
Session_Begin, that will truncate the table to 1/2 size if > N rows... or 
something 
like that...

...but it would be nice have Elmah take care of...

...just my 2 cents...

-- Mark Kamoski

Original comment by mkamo...@gmail.com on 29 Apr 2009 at 8:21

GoogleCodeExporter commented 9 years ago
BTW, when we had about 11K Elmah rows it filled the SQL Server 2005 Express 4GB 
file 
size limit, so auto-truncation would be nice to handle that. 

Original comment by mkamo...@gmail.com on 1 Jul 2009 at 2:51

GoogleCodeExporter commented 9 years ago
What is the current status of this feature?, it will be really useful for a lot 
of people to have a "delete log" feature, I think that it should be on the core 
of this great project

Original comment by isma....@gmail.com on 18 Jan 2011 at 3:04

GoogleCodeExporter commented 9 years ago
There was a discussion related to this issue on the mailing list, you can see 
it here:

http://groups.google.com/group/elmah/browse_thread/thread/8726cefe27cb30e1/7440a
2c597758128

Please chime in with your ideas and suggestions.

Original comment by lai...@gmail.com on 19 Jan 2011 at 3:38

GoogleCodeExporter commented 9 years ago
I think Afif is over analyzing the solution to this request.

Even having a check box next to each entry with a "Delete Selected" button 
would be better than nothing at all.

Original comment by edega...@gmail.com on 21 Jul 2011 at 3:04

GoogleCodeExporter commented 9 years ago
Issue 370 has been merged into this issue.

Original comment by azizatif on 17 Sep 2014 at 8:46