Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo and added Rotating log file size is multiple of 64K

...

General settings that control execution of CHARON-VAX belong to an object callled called "session". It is a preloaded object; therefore, only "set" commands apply. 

...

Parameterlog_file_size
TypeText string
ValueIf log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated. Rotating log file size is multiple of 64K
  • "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 session log_file_size="default"


set session log_file_size=10M

(warning)(info) Minimum LOG File size is 64K, maximum is 1G. Setting size less then than 64K effectively makes the LOG File unlimited.

...

Parameterlog_rotation_period
TypeText string
Value
  • "default" - default value, 7 days. This values is used even if the "log_rotation_period" is not specified.
  • "daily" or "1"
  • "weekly" or "7"
  • "never"
  • <N> - in N days where N is greater than 0

If the rotation log mode is enabled this parameter controls switching to next log file based on period of time passed. If enabled the switching to next log file appears at midnight.

Examples:

set session log_rotation_period="weekly"


set session log_rotation_period=14

(info) If enabled the switching to next log file appears at midnight

...

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 minute log file is flushed to disk)

Examples:

set session log_flush_period=30


...