[CSM] chat logging [chatlog]

Post Reply
rheo
Member
Posts: 35
Joined: Fri May 03, 2019 20:40
GitHub: fluxionary
IRC: flux fluxflux
In-game: flux rheo

[CSM] chat logging [chatlog]

by rheo » Post

This CSM logs chat messages to the debug.txt file. This is useful if you need to grep for certain messages. Compatible with 0.4.17 and 5.0, as long as basic CSM is enabled in the latter.

Abuse potential: nothing that I am aware of.

https://github.com/obl3pplifp/minetest-chatlog

license: CC0

User avatar
Miniontoby
Member
Posts: 392
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [CSM] chat logging [chatlog]

by Miniontoby » Post

It's a very good mod, thanks so can I see what there is happend and who my server is shutting down (when that is happend)
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell" Vote your gang

User avatar
twoelk
Member
Posts: 1368
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [CSM] chat logging [chatlog]

by twoelk » Post

not an abuse but chat spamming could bloat the debug file and maybe cause lag.
maybe a tool to begin a new file if the old one gets too large might be usefull.

does sound usefull.
you might also want to study older mods for other features and solutions ...

chatlog by JBR chatlog (csm) by red-001

rheo
Member
Posts: 35
Joined: Fri May 03, 2019 20:40
GitHub: fluxionary
IRC: flux fluxflux
In-game: flux rheo

Re: [CSM] chat logging [chatlog]

by rheo » Post

Thanks for links to the history. I don't think there's any facility for CSMs to open files on its own, so there's no way to implement some sort of logrotate functionality. That JBR chatlog mod, and its derivatives, are not CSMs. The red-001 chatlog CSM stores the log in modstorage. As the main point of this CSM is to make it easy to grep for messages, that's not really helpful (though it does seem to facilitate looking at old log messages while in-game).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest