fix: correct logging of our ID after startup & generate (#10234)
This is one place we actually want the full string.
This commit is contained in:
@@ -136,7 +136,7 @@ func (a *App) startup() error {
|
||||
|
||||
// Figure out our device ID and log it.
|
||||
a.myID = protocol.NewDeviceID(a.cert.Certificate[0])
|
||||
slog.Info("Calculated our device ID", a.myID.LogAttr())
|
||||
slog.Info("Calculated our device ID", slog.String("device", a.myID.String()))
|
||||
|
||||
// Emit the Starting event, now that we know who we are.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user