Product Documentation and Knowledge Base - HomeDocumentation


Charon-VAXCharon-AXPCharon-PDPCharon-SSPCharon-PAR
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Table of Contents

Description

Using this option you can either edit the log files using a selected text editor or have a continuous view ("live") of the log file for the selected guest.

(warning) Rotating log files are supported only with CHARON-AXP and CHARON-VAX V4.7 minimum and Linux Toolkit 42 minimum

(info) Log files are automatically archived, whatever the log_method parameter is set in the configuration file, at guest start so a new one is created each time.

(info) When using the log file edition, only 16 most recent ones are displayed in the list. To get older files, you will need to find them in the log file folder with name identical to the defined log file and with extension:

  • ".upto<YYYY-MM-DD-HHMNSE>" (example: /charon/pluto.log.upto2015-07-02-172824 ) if the virtual machine is not using rotating log files or
  • as defined by the log rotation mechanism (example: /charon/logs/pluto-2015-11-30-14-13-55-000000000.log )
 

Example:

 

Examples

Example1 - Continuous view

We can see below at point:

(1) The tool displays the latest 12 lines of the current log file: in this case the guest was in stopped state.

(2) The log file became inaccessible. Reason if we started the guest: the current log file was then archived and a new one is created

(3) The continuous view continues with the newly detected log file

 

Example2 - Log edition

Select editor view (1) then the log file (2) and finally the editor (3):

Notes:

  • 'From' date is either based on first event line including a date found in the log file or on file creation time
  • 'To' date is based on time the file was archived (renamed before guest start)
  • (lightbulb) It is highly recommended to use 'vim' or 'gvim' if possible and if installed to have the benefits of log highlighting

  • No labels