Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle
Excerpt
hiddentrue

Virtual machine logging configuration. 

This section describes the configuration of the CHARON-SSP for GNU/ Linux virtual machine logging facility.  The following lists the properties supported by this section:

  • destination – Logging facility output destination.
  • path – Logging output path.
  • severity – Logging severity level.
Note

It is important to note that all properties in this section must be configured correctly to ensure that the virtual machine will start. If the following message is received, something in the logging section is not configured correctly.

Failed to setup log!

Faults in the logging facility configuration could be:

  • Incorrect path or insufficient privilege to create the file,
  • Unconfigured property or properties, or
  • Misconfigured property value.

...

destination = log-destination

Description

..This property controls the destination of the logging facility output.  The table below lists all possible values for log-destination.

Panel
bgColor#ffffff
titleBGColor#f0f0f0
titleLogging Destination Keywords
DestinationDescription
all Write output to all possible destinations.
console Write output to the /dev/console device only.
file Write output to the file specified by path only.

path 
Anchor
path
path

Logging output path.

...

path = log-path

Description.

..Specify a path in log-path to write virtual machine logging messages to.

Info

This configuration property must be present, even if destination is set to a value other than all or file.

severity 
Anchor
severity
severity

...

severity = level

Description

Virtual machine logging messages are arranged into levels to make messages more relevant and reduce log file size.  The severity property controls which level messages are included in the logging output.  The list below lists these levels from most to least verbose.  Setting logging to a specific level also includes all levels below it.  For example, setting severity to warning ensures that error and fatal are also included in the output and other levels are not.

Panel
bgColor#ffffff
titleBGColor#f0f0f0
titleLogging Severity Levels
LevelDescription
 debug Debug and all lower level messages are logged.
info Informational and all lower level messages are logged.
warning Warning and all lower level messages are logged.
error Error and all lower level messages are logged.
fatal Only fatal error messages are logged.