Hi! I wrote a python handler around the TrinityCore Worldserver to send messages to slack. However it seems like the only time commands are logged in the console output are if they’re given by a GM. I modified the .a command so that any player can use it- however if a normal player uses it the message is not posted to the console’s STDOUT which means it’s not sent to my handler. Is there a way to log all commands? Not just GM commands? I tried uncommenting the Logger.commands.ra line in the worldserver.conf, but it didn’t do anything noticeable yet.
Commands are logged only for accounts with level greater than 0 - https://github.com/TrinityCore/TrinityCore/blob/6.x/src/server/game/Chat/Chat.cpp#L300