log.DaemonMode() debugging
This commit is contained in:
parent
90f2a202d5
commit
41ddfe2a32
8
http.go
8
http.go
|
@ -162,6 +162,14 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
// turn off timestamps for STDOUT (systemd adds them)
|
||||
if route == "/daemon" {
|
||||
log.Info("daemon mode ???")
|
||||
log.DaemonMode(false)
|
||||
log.Info("daemon mode false")
|
||||
return
|
||||
}
|
||||
|
||||
if route == "/listGitDirectories" {
|
||||
for i, path := range repostatus.ListGitDirectories() {
|
||||
// log.Info("addRepo()", i, path)
|
||||
|
|
Loading…
Reference in New Issue