diff --git a/src/environment.go b/src/environment.go index 6d450b49..2cedc5c1 100644 --- a/src/environment.go +++ b/src/environment.go @@ -227,7 +227,7 @@ func (env *environment) getenv(key string) string { func (env *environment) pwd() string { defer env.trace(time.Now(), "pwd") defer func() { - env.log(Error, "pwd", env.cwd) + env.log(Debug, "pwd", env.cwd) }() if env.cwd != "" { return env.cwd diff --git a/src/environment_windows.go b/src/environment_windows.go index 2f26b5b7..8b18926c 100644 --- a/src/environment_windows.go +++ b/src/environment_windows.go @@ -56,7 +56,7 @@ func (env *environment) isRunningAsRoot() bool { func (env *environment) homeDir() string { home := os.Getenv("HOME") defer func() { - env.log(Error, "homeDir", home) + env.log(Debug, "homeDir", home) }() if len(home) > 0 { return home