From 725c8d298a23aa12d4556c007ea3fb5a7ba40427 Mon Sep 17 00:00:00 2001 From: Jonathan Nobels Date: Tue, 25 Mar 2025 15:05:50 -0400 Subject: [PATCH] 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 --- ipn/ipnlocal/local.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 10a02d3cd..11da8c734 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2404,11 +2404,9 @@ func (b *LocalBackend) Start(opts ipn.Options) error { } 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() 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{}) }