in init.go [59:80]
func initCommonLogOpts() {
// container info
pflag.String(containerIDKey, "", "Id of the container")
pflag.String(containerNameKey, "", "Name of the container")
// log driver options
pflag.String(logDriverTypeKey, "", "`awslogs`, `fluentd` or `splunk`")
// mode options
pflag.String(modeKey, "", "Whether the writer is blocked or not blocked")
pflag.String(maxBufferSizeKey, "", "The size of intermediate buffer for non-blocking mode")
// verbose mode option
pflag.Bool(verboseKey, false, "If set, then more logs will be printed for debugging")
// set uid/gid option
pflag.Int(uidKey, -1, "Customized uid for all the goroutines in shim logger process")
pflag.Int(gidKey, -1, "Customized gid for all the goroutines in shim logger process")
// cleanup time option
pflag.String(cleanupTimeKey, "5s", "Cleanup time after pipes are closed, default to 5 seconds")
}