Skip to content

Commit e6ebd85

Browse files
committed
Print out log settings on startup
1 parent dc96c35 commit e6ebd85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/pbm-agent/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ func runAgent(
139139
mtLog.SetWriter(logger)
140140

141141
logger.Printf(perconaSquadNotice)
142+
logger.Printf("log options: log-path=%s, log-level:%s, log-json:%t",
143+
logOpts.LogPath, logOpts.LogLevel, logOpts.LogJSON)
142144

143145
canRunSlicer := true
144146
if err := agent.CanStart(ctx); err != nil {

0 commit comments

Comments
 (0)