3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 11:59:40 +01:00

more informative IP connection logline

This commit is contained in:
Shivaram Lingamneni 2020-05-10 18:45:32 -04:00
parent 0f7d58b1c5
commit d562c6d25a

View File

@ -282,7 +282,7 @@ func (server *Server) RunClient(conn IRCConn) {
return
}
server.logger.Info("connect-ip", fmt.Sprintf("Client connecting from %v", realIP))
server.logger.Info("connect-ip", fmt.Sprintf("Client connecting: real IP %v, proxied IP %v", realIP, proxiedIP))
now := time.Now().UTC()
config := server.Config()