Merge pull request #323 from thockin/log-uid-gid
Log info about UID, GID, and HOME for debug
This commit is contained in:
commit
6f8ecc6caa
|
|
@ -414,7 +414,12 @@ func main() {
|
|||
}
|
||||
|
||||
// From here on, output goes through logging.
|
||||
log.V(0).Info("starting up", "pid", os.Getpid(), "args", os.Args)
|
||||
log.V(0).Info("starting up",
|
||||
"pid", os.Getpid(),
|
||||
"uid", os.Getuid(),
|
||||
"gid", os.Getgid(),
|
||||
"home", os.Getenv("HOME"),
|
||||
"args", os.Args)
|
||||
|
||||
if _, err := exec.LookPath(*flGitCmd); err != nil {
|
||||
log.Error(err, "ERROR: git executable not found", "git", *flGitCmd)
|
||||
|
|
|
|||
Loading…
Reference in New Issue