ipn/ipnlocal: remove misleading [unexpected] log for auditlog (#15421)

fixes tailscale/tailscale#15394

In the current iteration, usage of the memstore for the audit
logger is expected on some platforms.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
pull/15379/head
Jonathan Nobels 8 months ago committed by GitHub
parent 08c8ccb48e
commit 725c8d298a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2404,11 +2404,9 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
} }
var auditLogShutdown func() var auditLogShutdown func()
// Audit logging is only available if the client has set up a proper persistent
// store for the logs in sys.
store, ok := b.sys.AuditLogStore.GetOK() store, ok := b.sys.AuditLogStore.GetOK()
if !ok { if !ok {
b.logf("auditlog: [unexpected] no persistent audit log storage configured. using memory store.") // Use memory store by default if no explicit store is provided.
store = auditlog.NewLogStore(&memstore.Store{}) store = auditlog.NewLogStore(&memstore.Store{})
} }

Loading…
Cancel
Save