mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-19 15:59:03 +00:00
tools: acrnlog: improve for log incompleteness problem
1. add warning when log incompleteness observed; 2. decrease default polling interval to reduce chance of log incompleteness; 3. add option "-t" to allow user to specify the polling interval; 4. modified README.rst to reflect the options. Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Signed-off-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
@@ -22,6 +22,22 @@ The ``acrnlog`` tool is launched as a service at boot, and limited to
|
||||
supporting four 1MB log files by default. You can change this log file
|
||||
limitation temporarily or permanently.
|
||||
|
||||
Options:
|
||||
|
||||
-h
|
||||
display the help
|
||||
|
||||
-t:
|
||||
specify a polling interval (ms). Once buffer is empty, acrnlog stops
|
||||
and starts reading in specified interval.
|
||||
If an incomplete log warning is reported, please try with a smaller
|
||||
interval to get a complete log.
|
||||
|
||||
-s:
|
||||
limit the size of each log file, in KB. 0 means no limitation.
|
||||
|
||||
-n:
|
||||
specify the number of log files to keep, old files would be deleted.
|
||||
|
||||
Temporary log file changes
|
||||
==========================
|
||||
|
Reference in New Issue
Block a user