Closed Askaholic closed 1 year ago
I don't think we want to be exposing people's IP addresses in logs that are more or less publicly viewable. I think that should probably be removed else we will have to be more secure about the logs in grafana for the server.
@Brutus5000 what are your thoughts?
BTW, IP addresses can already show up in the logs if the connection is aborted before the player logs in.
Then those should likely be removed as well if we don't want IPs in the logs
As long as the sensitive logs get rotated out eventually I have no issues with logging IPs. We also keep ips for other purposes such as fraud login detection.
Alright then wasn't sure since these logs are more widely available in grafana besides just server admins
So is this good to be merged then?
I can't say anything from the python side of things, but sure, go ahead.
Some changes that will make it easier to search the logs in grafana, and some changes to make it easier to correlate messages with the player that caused them. I also moved some messages into the info level that happen when people connect/disconnect. This means there will be a log message containing the IP address of everyone who connects: