[CSM] chat logging [chatlog]

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

[CSM] chat logging [chatlog]

by rheo » Fri May 03, 2019 21:20

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: 184
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [CSM] chat logging [chatlog]

by Miniontoby » Tue May 21, 2019 17:20

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"
 

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

Re: [CSM] chat logging [chatlog]

by twoelk » Wed May 22, 2019 10:05

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: 14
Joined: Fri May 03, 2019 20:40
GitHub: fluxionary
IRC: flux fluxflux
In-game: flux rheo

Re: [CSM] chat logging [chatlog]

by rheo » Wed May 22, 2019 13:27

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


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 2 guests