Changeset 750 in code


Ignore:
Timestamp:
Dec 6, 2021, 5:56:00 PM (4 years ago)
Author:
contact
Message:

Add username to downstreamConn log messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r742 r750  
    13021302        }
    13031303
     1304        remoteAddr := dc.conn.RemoteAddr().String()
     1305        dc.logger = &prefixLogger{dc.srv.Logger, fmt.Sprintf("user %q: downstream %q: ", dc.user.Username, remoteAddr)}
     1306
    13041307        // TODO: doing this might take some time. We should do it in dc.register
    13051308        // instead, but we'll potentially be adding a new network and this must be
Note: See TracChangeset for help on using the changeset viewer.