Log the command line flags

With d7ddcca231, we lost the logging
of the flags. We should at least log what the command line flags
were used to start processes as those incredibly useful for trouble shooting.
This commit is contained in:
Davanum Srinivas
2018-02-14 11:17:28 -05:00
parent 9a8b675d2c
commit 265e5ae085
16 changed files with 79 additions and 5 deletions

View File

@@ -36,7 +36,6 @@ func main() {
rand.Seed(time.Now().UTC().UnixNano())
command := app.NewKubeletCommand()
logs.InitLogs()
defer logs.FlushLogs()