Skip to content

Commit

Permalink
move error log to info log
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay084 committed Apr 1, 2024
1 parent 796587e commit 538b927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func initLogging(c *config.Config) {
if RunTime.GOOS == "windows" {
dir, _ := os.Getwd()
logFilePath := dir + string(os.PathSeparator) + "harness-docker-runner-" + time.Now().Format("2-January-2006") + ".log"
logrus.Errorln("Logs will be dumped to : " + logFilePath)
logrus.Infoln("Logs will be dumped to : " + logFilePath)
file, err := os.OpenFile(logFilePath, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666)
if err != nil {
logger.L.Logger.Infoln("Failed to open log file:", err)
Expand Down

0 comments on commit 538b927

Please sign in to comment.