Open ArcticSnowman opened 7 years ago
Turns out this might be something to do with net/http Do() call
OK, after further digging this is a complex issue with something to do with the app doing a 'log.SetOutput' to a multi writer with OS.Stderr and some thing else.. Not sure if the bug is here or net/http or log or all of the above..
When you create a daemon app using https://github.com/VividCortex/godaemon there is a issue where the disconnection of the StdOut and StdErr causes Jenkins.Init() to fail and exit.
I believe it the InitLoggers() operation that causes the issue.
Really the logging should be left to the application this package is used in not for this package to dictate how to log.