From 83c971221ddb814f6b09f323243848ae2ba26081 Mon Sep 17 00:00:00 2001 From: "Yan, Like" Date: Wed, 8 May 2019 10:41:44 +0800 Subject: [PATCH] doc: acrnlog: update loglevel usage This commit updates the usage of "loglevel" command in README.rst, which was out-of-date due to change of "loglevel" command. Tracked-On: #2712 Signed-off-by: Yan, Like --- tools/acrnlog/README.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tools/acrnlog/README.rst b/tools/acrnlog/README.rst index 7fd17de49..e19e281a3 100644 --- a/tools/acrnlog/README.rst +++ b/tools/acrnlog/README.rst @@ -51,9 +51,8 @@ steps: # acrnlog -n 8 -s 4 & -You can use ``get_loglevel`` and ``set_loglevel`` commands -in the hypervisor shell (not the Service OS shell) -to query and change the hypervisor log level. +You can use ``loglevel`` command in the hypervisor shell (not the Service +OS shell) to query and change the hypervisor log level. The ``mem_loglevel`` parameter controls the log to be saved using ``acrnlog``, while the ``console_loglevel`` parameter controls the log @@ -62,11 +61,11 @@ can use these commands: .. code-block:: none - ACRN:\>get_loglevel - console_loglevel: 2, mem_loglevel: 4 - ACRN:\>set_loglevel 2 5 - ACRN:\>get_loglevel - console_loglevel: 2, mem_loglevel: 5 + ACRN:\>loglevel + console_loglevel: 3, mem_loglevel: 5, npk_loglevel: 5 + ACRN:\>loglevel 2 5 + ACRN:\>loglevel + console_loglevel: 2, mem_loglevel: 5, npk_loglevel: 5 Permanent log file changes