Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf09a284

Browse files
committed
add log dir log for good measure
1 parent5f2fe7d commitf09a284

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
ifoptions.LogDir=="" {
114114
ifoptions.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)

[8]ページ先頭

©2009-2025 Movatter.jp