From aceaf7f7230d22ed423e8ad62039defe5423ae9f Mon Sep 17 00:00:00 2001 From: "Abhijith D.A" Date: Fri, 30 Apr 2021 23:39:10 -0700 Subject: [PATCH] Update to use current directory for log, as otherwise it fails on github builders with permission issue. --- cmd/pm/pm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pm/pm.go b/cmd/pm/pm.go index ba657b2..c976a4c 100644 --- a/cmd/pm/pm.go +++ b/cmd/pm/pm.go @@ -28,7 +28,7 @@ func init() { // DefaultConfigPath is default path for config file used when EnvConfFile is not set. config.DefaultConfigPath = "/etc/pm.config.yaml" // DefaultLogPath is default path for log file. - config.DefaultLogPath = "/var/log/pm" + config.DefaultLogPath = "./" // INFO: Use DefaultLogPath when it's available (until the config file is read). // If not, use basename of file.