Skip to content

Commit 5f2fe7d

Browse files
committed
always log
1 parent 035c3fd commit 5f2fe7d

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
@@ -119,6 +119,8 @@ func New(options Options) Agent {
119119
if options.ScriptDataDir == "" {
120120
if options.TempDir != os.TempDir() {
121121
options.Logger.Debug(context.Background(), "script data dir not set, using temp dir", slog.F("temp_dir", options.TempDir))
122+
} else {
123+
options.Logger.Debug(context.Background(), "using script data dir", slog.F("script_data_dir", options.ScriptDataDir))
122124
}
123125
options.ScriptDataDir = options.TempDir
124126
}

0 commit comments

Comments
 (0)