Using crio cmdline, how can I check the current log_level set for crio? #7845
-
Using crio cmdline, how can I check the current log_level set for crio? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @alpana17, thank you for asking! With any modern version of CRI-O, you can use the
Note: This requires access permissions to the CRI-O control Unix socket! # crio status config 2>/dev/null | grep log_level
log_level = "info" You can also use
# crio status config > crio.conf
$ crio config 2>/dev/null > crio.conf Older versions of CRI-O ship with a dedicated command-line (CLI) utility called |
Beta Was this translation helpful? Give feedback.
Hi @alpana17, thank you for asking!
With any modern version of CRI-O, you can use the
crio
binary itself to interrogate current runtime configuration, for example:Note: This requires access permissions to the CRI-O control Unix socket!
You can also use
c
for short ofconfig
in the above.# crio status config > crio.conf
$ crio config 2>/dev/null > crio.conf
Older versions of CRI-O ship with a dedicated command-line (CLI) utility called
crio-status
, which had the same option calledc…