LogViewer icon indicating copy to clipboard operation
LogViewer copied to clipboard

Delete multiple logs at once from UI

Open vesper8 opened this issue 5 years ago • 5 comments

I see you've added an artisan command to clear all logs and that's helpful, but I would find it very useful to be able to execute that from your awesome UI. So many times I have to manually click 10+ delete icons from the UI because SSH'ing to the server in order to run the artisan command is more time-consuming / not convenient.

It would be nice if there was a "delete all" button on the UI. And it would also be nice if there was a checkbox column that allowed us to select all / individual logs to clear.

Furthermore, it would be nice if your artisan command accepted parameters to delete, for example, all but the last 10 logs. This way we could add this to the scheduler as a very basic form of logrotate

vesper8 avatar Feb 17 '21 13:02 vesper8

Feel free to make separate PRs for these features :+1:

arcanedev-maroc avatar Feb 26 '21 15:02 arcanedev-maroc

I will make a PR for this

aryala7 avatar May 09 '22 17:05 aryala7

This would be an improvement...

MGeurts avatar Oct 31 '23 16:10 MGeurts

This project was great for many many years but at this point https://github.com/opcodesio/log-viewer has way more features (including the ability to delete all logs at once)

vesper8 avatar Oct 31 '23 20:10 vesper8

@vesper8

I do not like https://github.com/opcodesio/log-viewer because it is missing the summary dashboard. It is shown in the documentation but helas not present in the application.

Summary

MGeurts avatar Nov 01 '23 08:11 MGeurts