Skip to content

Commit ea2db28

Browse files
committed
changed agentLog to yc360Logs
1 parent 97787aa commit ea2db28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/agent/ondemand/ondemand.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ func FullCapture(pid int, appName string, hd bool, tags string, tsParam string)
179179
// A.3 Agent log file
180180
var agentLogFile *os.File
181181
if !config.GlobalConfig.M3 {
182-
agentLogFile, err = logger.StartWritingToFile("agentlog.out")
182+
// As per Mahesh suggestion, the name of agentlog changed to yc360Logs
183+
agentLogFile, err = logger.StartWritingToFile("yc360Logs.out")
183184
if err != nil {
184185
logger.Info().Err(err).Msg("Failed to start writing to file")
185186
}

0 commit comments

Comments
 (0)