diff --git a/log/zap/buffered_write_syncer.go b/log/zap/buffered_write_syncer.go index 6e2edc6f5d8588c4246b85f6722531b558df163c..b6149240b4c18f6255cc66d8da330aa9b5db318a 100644 --- a/log/zap/buffered_write_syncer.go +++ b/log/zap/buffered_write_syncer.go @@ -6,6 +6,7 @@ import ( "time" "git.perx.ru/perxis/perxis-go/log" + "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/errors" ) @@ -176,6 +177,6 @@ func (ws *BufferedWriteSyncer) syncLoop() { defer ws.wg.Done() for entries := range ws.syncQueue { - _ = ws.Service.Log(context.Background(), entries) + _ = ws.Service.Log(auth.WithSystem(context.Background()), entries) } }