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

[activitylog] Suggestion: management commands #38

Open
MrSnorlax opened this issue Jul 16, 2017 · 2 comments
Open

[activitylog] Suggestion: management commands #38

MrSnorlax opened this issue Jul 16, 2017 · 2 comments

Comments

@MrSnorlax
Copy link

Here is an idea you should make a !logclear (channel) command to delete that channels log and a !logshow (channel) command so it’s possible to delete a channels Log and also to print a channels log

@calebj
Copy link
Owner

calebj commented Nov 20, 2017

The logs are can get rather large. I can add an upload, tail and other features at some point.

@calebj calebj added v2 and removed v2 labels Jul 22, 2018
@calebj calebj changed the title [suggestion] Log commands [activitylog] Suggestion: management commands Jul 29, 2018
@calebj
Copy link
Owner

calebj commented Jul 31, 2018

I added log rotation in the develop branch as of 1.6.0 of this cog, so for periods of a day or week, it should be a lot more manageable. The logs themselves are far too large to be printed, but they can be uploaded as attachments (if under 8MB). I don't think I want to implement a clear command, but you can clean up the files manually.

If I have time, I kind of want to to log things in sqlite, which would be able to dynamically generate logfiles for any desired date ranges with custom formatting/fields, filter on user, channel, and event type, clear an arbitrary amount of history, and other benefits.

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