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 <like.yan@intel.com>
This commit is contained in:
Yan, Like 2019-05-08 10:41:44 +08:00 committed by David Kinder
parent 8626e5aa3a
commit 83c971221d

View File

@ -51,9 +51,8 @@ steps:
# acrnlog -n 8 -s 4 & # acrnlog -n 8 -s 4 &
You can use ``get_loglevel`` and ``set_loglevel`` commands You can use ``loglevel`` command in the hypervisor shell (not the Service
in the hypervisor shell (not the Service OS shell) OS shell) to query and change the hypervisor log level.
to query and change the hypervisor log level.
The ``mem_loglevel`` parameter controls the log to be saved using The ``mem_loglevel`` parameter controls the log to be saved using
``acrnlog``, while the ``console_loglevel`` parameter controls the log ``acrnlog``, while the ``console_loglevel`` parameter controls the log
@ -62,11 +61,11 @@ can use these commands:
.. code-block:: none .. code-block:: none
ACRN:\>get_loglevel ACRN:\>loglevel
console_loglevel: 2, mem_loglevel: 4 console_loglevel: 3, mem_loglevel: 5, npk_loglevel: 5
ACRN:\>set_loglevel 2 5 ACRN:\>loglevel 2 5
ACRN:\>get_loglevel ACRN:\>loglevel
console_loglevel: 2, mem_loglevel: 5 console_loglevel: 2, mem_loglevel: 5, npk_loglevel: 5
Permanent log file changes Permanent log file changes