Journal

This chapter covers some aspects related to the system journal configuration tool, which allows you to configure the behaviour of the journal command in OSDx.

Journal is a tool that is responsible for collecting and managing systemd logs, allowing the user to access the data, for example to identify errors or to monitorize the system.

The system journal configuration must be configured using one of the following values:

  • max-use: This option accepts a value between 0 and 100. This value will be the percentage of memory used by the system to store journal logs, 1% is the default value. The system will store 4 GB at most, so if you choose a percentage whose memory is higher than this value, the system will store 4GB anyway.

Here, you can find more information about journal operational commands.

Configuration

This is the syntax to configure the behaviour of the system journal configuration in OSDx:

set system journal max-use [ ... ]

Examples

Configure journal limit

Imagine you want to configure the memory used to store logs. So to achieve this goal, you have to change this value to another between 0 and 100:

set system journal max-use 10

Important

If you have stored more memory than your limit, the memory will be flushed. In any other case, you will keep your journal files.

Command Summary

Operational commands

Configuration commands