Table of Contents
Virtual machine log view
Usage
# logview [options] [logfile] |
The log files can also be edited from the menu → "Service management" → "View latest guest log file"
Description
Uses 'vim
' editor to view a CHARON virtual machine log file with highlights.
If <logfile> is empty, the script will look for available log files in the virtual machines list managed by the Toolkit. If only one is managed, the current log will be selected, if more than one virtual machine is present, a selection menu will appear.
It is recommended to enlarge the current terminal window to at least 132 columns. If using the graphical version of 'vim
' (# logview -g
) the window size is set to 32 lines and 160 columns by default.
Parameters
-h :
display help text
-g or --gui :
use 'gvim
' instead of 'vim
' (if installed)
-s or --short :
edit a copy of the log file without 'regular license check' messages
Example
For ease of use, it is also possible to copy the charonlog.vimrc
file to $HOME/.vimrc
. Doing so will make 'vim
' highlight log lines by default (if you prefer to use 'vim
' rather than 'logview
')
Virtual machine log tail
Usage
# logtail |
The log files can also be continuously viewed from the menu → "Service management" → "View latest guest log file"
Description
Continuous view of a CHARON virtual machine log file with highlights.
Press <CTRL-C> to stop the view.
If <logfile> is empty, the script will look for available log files in the virtual machines list managed by the Toolkit. If only one is managed, the current log will be selected, if more than one virtual machine is present, a selection menu will appear.
It is recommended to enlarge the current terminal window to at least 132 columns.
Parameters
-h :
display help text
Example
# logtail /charon/logs/myds20.log |