Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add module to log all chat messages #280

Open
Chris92de opened this issue Aug 12, 2024 · 1 comment
Open

[Feature] Add module to log all chat messages #280

Chris92de opened this issue Aug 12, 2024 · 1 comment
Labels
core Issue or feature request related to the core code. enhancement New feature or request module Issue related to a specific module or creation of a certain module.

Comments

@Chris92de
Copy link
Member

Chris92de commented Aug 12, 2024

Is your feature request related to a problem? Please describe.
Collecting evidence for potential rule infractions

Describe the solution you'd like
I want to be able to have a file-based chat log available that logs all the chat messages sent on the server powered by EvoSC#.

Describe alternatives you've considered
Chat is available in GameLog-xxx.txt file in Logs folder of the Trackmania server, however in our Docker images this is not mounted to a volume, meaning they get reset every time the container gets restarted. Also makes it so you can't easily push it to external log aggregators like Grafana Loki or Graylog.

Additional context
EvoSC (PHP version) prints every chat message in its log, even of muted players.
See source code reference

@Chris92de Chris92de added the enhancement New feature or request label Aug 12, 2024
@snixtho
Copy link
Member

snixtho commented Aug 12, 2024

Chat is already logged to stdout, and can easily be parsed in json mode. If that's not what you are looking for, then I'm not sure I understand.

@snixtho snixtho added core Issue or feature request related to the core code. module Issue related to a specific module or creation of a certain module. labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issue or feature request related to the core code. enhancement New feature or request module Issue related to a specific module or creation of a certain module.
Projects
None yet
Development

No branches or pull requests

2 participants