Command logs
Kellsya opened this issue · 3 comments
Kellsya commented
First of all, it's great to see that you are developing this, HarpyWar. Thanks for that
Is it possible to add the commands log feature that has been talked about in your forum http://forums.harpywar.com/viewtopic.php?id=1194 ?
HarpyWar commented
Yes, logging will be added, but not a high priority.
(Related to #43 (comment))
Kellsya commented
Cool. Hope to see it soon as logging is really useful to find if anyone is trying to abuse commands such as banning/locking accounts.
HarpyWar commented
Done.
Log files size doesn't not effect on performance.
There are 4 new config options:
userlogdir = "var/userlogs"
# Should commands from users be logged to files in the userlogdir?
log_commands = true
# Commands will be logged for users with these command groups
# (global operators and admins are included)
log_command_groups = 2345678
# List of commands that will be logged
# can be defined by connecting them with a comma (,)
# set empty to log all commands
log_command_list = ""