main: Replace -debug with -log-level

Running crio with -debug is very verbose. Having more granularity
on the log level can be useful when e.g. only looking for errors.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2017-09-27 11:33:03 +02:00
parent 5b2652c3e3
commit a5e5ccb365
5 changed files with 19 additions and 13 deletions

View file

@ -13,13 +13,13 @@ crio - OCI Kubernetes Container Runtime daemon
[**--config**=[*value*]]
[**--conmon**=[*value*]]
[**--cpu-profile**=[*value*]]
[**--debug**]
[**--default-transport**=[*value*]]
[**--help**|**-h**]
[**--insecure-registry**=[*value*]]
[**--listen**=[*value*]]
[**--log**=[*value*]]
[**--log-format value**]
[**--log-level value**]
[**--pause-command**=[*value*]]
[**--pause-image**=[*value*]]
[**--registry**=[*value*]]
@ -66,9 +66,6 @@ crio is meant to provide an integration path between OCI conformant runtimes and
**--cpu-profile**=""
set the CPU profile file path
**--debug**
Enable debug output for logging
**--default-transport**
A prefix to prepend to image names that can't be pulled as-is.
@ -105,6 +102,9 @@ set the CPU profile file path
**--log-format**=""
Set the format used by logs ('text' (default), or 'json') (default: "text")
**--log-level**=""
log CRI-O messages above specified level: debug, info (default), warn, error, fatal or panic
**--log-size-max**=""
Maximum log size in bytes for a container (default: -1 (no limit))