DiscordSRV / DiscordSRV

Discord bridging plugin for block game https://modrinth.com/plugin/discordsrv
https://discordsrv.com
GNU General Public License v3.0
983 stars 496 forks source link

Allow alerts for console messages #616

Open ryantheleach opened 4 years ago

ryantheleach commented 4 years ago

It would be cool to see configurable logging channels based on log4j loggers.

e.g. I'd love to output all anti cheat warnings and other anti cheat logging related logs to a specific channel,

private messages to another,

etc.

Scarsz commented 4 years ago

Hijacking this issue to implement this functionality into the alerts system instead

Not sure exactly how the trigger would be implemented. There should be a trigger format for listening for lines from the console that contain a given string or are from a given logger (effectively all log messages from a specific plugin) as originally requested.

ryantheleach commented 2 years ago

To add to this, I would also like a way of sending a copy of anything higher then Log Level Info to a separate channel.