Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding log management #57

Open
atifaziz opened this issue Aug 25, 2015 · 11 comments
Open

Consider adding log management #57

atifaziz opened this issue Aug 25, 2015 · 11 comments

Comments

@atifaziz
Copy link
Member

atifaziz commented Aug 25, 2015

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


Originally reported on Google Code with ID 57

Reported by Roland.Baranowski on 2008-03-29 19:56:15

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

Reported by @atifaziz on 2008-03-31 07:24:05


  • Labels added: Type-Enhancement, Component-UI, Component-Logic, Component-Persistence
  • Labels removed: Type-Defect

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

You can probably run a scheduled task to delete them as you wish.


Reported by affan05 on 2008-06-22 20:15:01

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

...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


Reported by mkamoski on 2009-04-29 20:21:20

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

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.


Reported by mkamoski on 2009-07-01 14:51:44

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

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


Reported by isma.isf on 2011-01-18 15:04:27

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

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/7440a2c597758128

Please chime in with your ideas and suggestions.


Reported by @laimis on 2011-01-19 03:38:25

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

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.


Reported by edegagne on 2011-07-21 15:04:19

@atifaziz
Copy link
Member Author

atifaziz commented Aug 25, 2015

Issue #370 has been merged into this issue.


Reported by @atifaziz on 2014-09-17 20:46:04

@adaam2
Copy link

adaam2 commented Jul 7, 2016

Hi,

Is there any update on this?

This issue is nearly 9 years old!

I would be willing to contribute a PR if everyone reached an agreement about functionality.

Adam

@atifaziz
Copy link
Member Author

@adaam2 There is no committee here for reaching a consensus or agreement so I wouldn't look for it. I would make a solid proposal and look for feedback. Appreciate your will to contribute.

@atifaziz
Copy link
Member Author

atifaziz commented Jul 16, 2016

This issue is nearly 9 years old!

@adaam2 It has been open for this long for two reasons:

  1. It's a complex issue to solve if you lump it all into “log management” which could mean many things. To tackle it more simply, it would be best to break it down and do it piecemeal, like starting with simply clearing the log and deleting one or more entries (bearing in mind that this would require some permissions and role management).
  2. There hasn't been a burning need. For example, I have had some error logs collecting for years and never needed management. There's never been any space or performance issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants