mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 06:29:19 +00:00
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:
parent
8626e5aa3a
commit
83c971221d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user