mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Update logs to reudce verbosity and consistency
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
@ -215,9 +215,9 @@ func pipeRequest(config *WatchdogConfig, w http.ResponseWriter, r *http.Request,
|
||||
}
|
||||
|
||||
if len(bytesWritten) > 0 {
|
||||
log.Printf("%s - Duration: %f seconds", bytesWritten, execDuration)
|
||||
log.Printf("%s - Duration: %fs", bytesWritten, execDuration)
|
||||
} else {
|
||||
log.Printf("Duration: %f seconds", execDuration)
|
||||
log.Printf("Duration: %fs", execDuration)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user