FileLog
FileLog - lightweight chat and command logging for individual players (as opposed to one main log)
What does FileLog do?
FileLog logs every time a player joins, leaves, chats, and runs a command in their own .log file.
FILELOG VS MAINLOG
- FileLog creates a file for each player, allowing you to easily find their logs, while the mainlog is for everything, can get very large, and is difficult to search.
- FileLog has a smart file-naming scheme: <UUID>-<name>.log, making it easy to find the log of the player you're looking for.
- FileLog has smart name-change detection. It will continue one log for one player, and will also update the <name> in the file name accordingly. This allows you to always know how to find a player, even if they changed their name (whereas in the main log you would need to remember their old name to find their actions).
- FileLog runs asynchronously, which allows the file IO to run in a separate thread, saving server performance.
- FileLog isn't cluttered with other info like the main log is. FileLogs will only show you relevant information.
- Example FileLog
16/03/2016 @ 10:48:42 EDT> u00 has joined the server 16/03/2016 @ 10:48:46 EDT> command: /help 16/03/2016 @ 10:48:54 EDT> chat: test 16/03/2016 @ 10:48:56 EDT> chat: howdy 16/03/2016 @ 10:49:04 EDT> command: /ban random_player 16/03/2016 @ 10:49:15 EDT> chat: testing 16/03/2016 @ 10:49:17 EDT> chat: more testing 16/03/2016 @ 10:49:19 EDT> chat: hello 16/03/2016 @ 10:49:31 EDT> u00 has left the server
- Example FileLog
How to use?
Just put it in your plugins folder and give players who you do not want to be logged the "filelog.exempt" permission.
Comments