Velocity
Velocity copied to clipboard
Make the logging of server connections configurable
Makes the logging of server connections ([server connection] Player -> SERVER has (dis)connected) configurable.
I think MinecraftConnection can only handle VelocityServerConnections, but I added an instance check anyway.
Any and all log messages in Velocity are already configurable via log4j2. I'd suggest you refer to such documentation on logging. It's quite powerful.
While that's a good thing, log messages for command invocations are already configurable, and I wouldn't expect most server owners to be familiar with log4j.
If this ends up being added I would move all the logging-related settings to a logging section in the config.
Since pull request #673 was merged, I think this pull request can be closed
This change was already integrated in pull request #673 (2 years ago)