Versions Compared

Key

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

...

Parameterlog_file_size
TypeText string
Value

If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated.

  • "unlimited" or "0" (default) - the feature is disabled
  • "default" - default size is used (4Mb)
  • <size>[KMG] - size of the current log file in bytes with additional multipliers:
    • K - Kilobyte - multiply by 1024

    • M - Megabyte - multiply by 1024*1024

    • G - Gigabyte - multiply by 1024*1024*1024

Examples:

set OPA0 log_file_size="default"


set OPA0 log_file_size=10M

(warning) Minimum log file size is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited.

log_flush_period

...

  • <period-in-seconds>

Defines a period of flushing log to disk.

Default period is 60 seconds (it means that every manite log file is flushed to disk)

Examples:

set OPA0 log_flush_period=30

Example of mapping a console line to an onboard serial line:

...

classpagebreak

virtual_serial_line

host

...

A remote host’s IP address or a host name (and optional remote TCP/IP port number) for the virtual serial line connection.

If omitted, the virtual serial line does not initiate a connection to the remote host and will listen for incoming connection requests.

Specify the value in the following form:

set OPA0 host="<host-name>[:<port-no>]"

If "<port-no>" is not specified, the virtual serial line uses the TCP/IP port number specified by the "port" parameter (see below).


port

...

break_on

...

Specifies what byte sequences received over virtual serial line must trigger HALT command.

...

Example of mapping a console line to an onboard serial line:

load physical_serial_line OPA0
set OPA0 line="/dev/ttyS1"

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


virtual_serial_line

host

Parameterhost
TypeText string
Value

A remote host’s IP address or a host name (and optional remote TCP/IP port number) for the virtual serial line connection.

If omitted, the virtual serial line does not initiate a connection to the remote host and will listen for incoming connection requests.

Specify the value in the following form:

set OPA0 host="<host-name>[:<port-no>]"

If "<port-no>" is not specified, the virtual serial line uses the TCP/IP port number specified by the "port" parameter (see below).

port

Parameterport
TypeNumeric
ValueTCP/IP port number for the virtual serial line. A virtual serial line always listens on this port for incoming connection requests.

break_on

Parameterbreak_on
TypeText string
Value

Specifies what byte sequences received over virtual serial line must trigger HALT command.

(warning) This parameter works only for console line (for CHARON-VAX it is the only line of UART and the "line[3]" of QUART).

Specify the following values: "Ctrl-P", "Break" or "none" to disable triggering HALT condition.

Example:

set OPA0 break_on="Ctrl-P"
The default value is "Break" for line 3 of QUART and "none" for other lines.

...

Parameterlog
TypeText string
Value

A string specifying a file name to store content of console sessions or a directory where log files for each individual session will be stored.If an existing directory is specified, CHARON-VAX automatically enables creation of individual log file for each session.If the "log" parameter is omitted CHARON-VAX does not create any console log.session.

If the "log" parameter is omitted CHARON-VAX does not create any console log.

Examples:

set OPA0 log="log.txt"


set OPA0 log="/opt/charon/logs"


log_file_size

Parameterlog_file_size
TypeText string
Value

If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated.

  • "unlimited" or "0" (default) - the feature is disabled
  • "default" - default size is used (4Mb)
  • <size>[KMG] - size of the current log file in bytes with additional multipliers:
    • K - Kilobyte - multiply by 1024

    • M - Megabyte - multiply by 1024*1024

    • G - Gigabyte - multiply by 1024*1024*1024

Examples:

Parameterlog
set OPA0 log=" log.txt"
set OPA0 log="/opt/charon/logs"

log_file_size

_file_size
TypeText string
ValueIf log rotation is enabled, the log
="default"


set OPA0 log_file_size

parameter determines the

=10M

(warning) Minimum log file size threshold at which the log is automatically rotated.

  • "unlimited" or "0" (default) - the feature is disabled
  • "default" - default size is used (4Mb)
  • <size>[KMG] - size of the current log file in bytes with additional multipliers:
  • K - Kilobyte - multiply by 1024

  • M - Megabyte - multiply by 1024*1024

  • G - Gigabyte - multiply by 1024*1024*1024

    is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited.

    log_flush_period

    Parameterlog_flush_period
    TypeNumeric
    Value
    • <period-in-seconds>

    Defines a period of flushing log to disk.

    Default period is 60 seconds (it means that every manite log file is flushed to disk)

    Examples:

    set OPA0 log_

    file

    flush_

    size="default"

    set OPA0 log_file_size=10M

    (warning) Minimum log file size is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited.

    period=30



    Div
    classpagebreak



    Example of mapping a console line to an onboard serial line:

    ...