Skip to content

Commit

Permalink
Update to use current directory for log, as otherwise it fails on git…
Browse files Browse the repository at this point in the history
…hub builders with permission issue.
  • Loading branch information
abhijithda committed May 1, 2021
1 parent e32bcc4 commit aceaf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pm/pm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit aceaf7f

Please sign in to comment.