mirror of
https://github.com/benbjohnson/litestream.git
synced 2026-01-25 05:06:30 +00:00
feat(vfs): add process ID to VFS log output
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,7 +74,7 @@ func LitestreamVFSRegister() *C.char {
|
||||
}
|
||||
logOutput = f
|
||||
}
|
||||
logger := slog.New(slog.NewTextHandler(logOutput, &slog.HandlerOptions{Level: level}))
|
||||
logger := slog.New(slog.NewTextHandler(logOutput, &slog.HandlerOptions{Level: level})).With("pid", os.Getpid())
|
||||
|
||||
vfs := litestream.NewVFS(client, logger)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user