Skip to content

Commit 0f6f254

Browse files
committed
add log dir log for good measure
1 parent 35968dd commit 0f6f254

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

agent/agent.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ func New(options Options) Agent {
113113
if options.LogDir == "" {
114114
if options.TempDir != os.TempDir() {
115115
options.Logger.Debug(context.Background(), "log dir not set, using temp dir", slog.F("temp_dir", options.TempDir))
116+
} else {
117+
options.Logger.Debug(context.Background(), "using log dir", slog.F("log_dir", options.LogDir))
116118
}
117119
options.LogDir = options.TempDir
118120
}

0 commit comments

Comments
 (0)