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

Logging #24

Open
HubbeKing opened this issue Jul 17, 2014 · 3 comments
Open

Logging #24

HubbeKing opened this issue Jul 17, 2014 · 3 comments

Comments

@HubbeKing
Copy link
Member

The current thought is to use a database to store logs, having the log for each channel in a separate table.

The columns in the table would then be nick, timestamp, type, and message.

MySQL or some actual proper database would be preferable, if we can get a server going and maintained for that.

We can use sqlite, but scalability becomes a problem, and we start having to split logs per year or even month (still unsure as to how well sqlite scales, my guess is not well)

Moving the user aliases into this same database for easy stat-creation would also be good.

@HubbeKing
Copy link
Member Author

ekimekim of the IRC has recommended elasticsearch, as it was designed specifically for freeform text search.

@HubbeKing
Copy link
Member Author

Actually, keeping user aliases as they are sounds good enough. They're kept in the bot.dataStore dict, and log searches and stat generation would be bot modules, so they'd have access to that.

@Heufneutje Heufneutje modified the milestones: 2.0, 0.6 Jul 31, 2014
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