Log

This page documents an earlier firmware release. Read this page for the latest release

This message aggregates the data structures related to the log service.

Entry

The log entry contains the message and metadata of a log.

Table 1. Available fields in blickfeld.diagnostics.data.Log.Entry
Field Type Default Unit

boot_uuid

string

-

-

UUID of the boot during which the log was written.

cursor

Cursor

-

-

Cursor used to index log entries and to navigate through the logs.

timestamp

uint64

-

ns

The wallclock time at the point in time the entry was received by the journal, in nanoseconds since the epoch UTC.

module

config.Log.Filter.SoftwareModule

-

-

The module which has written the log.

level

Level

-

-

The log level of the log.

message

string

-

-

The message which has been logged.

Cursor

The cursor uniquely identifies a log entry in the logs.

Table 2. Available fields in blickfeld.diagnostics.data.Log.Entry.Cursor
Field Type Default Unit

sequence_number_id

optional string

-

-

The sequence number ID is used to reference a set of log entries generated by the same systemd-journald instance.

sequence_number

optional uint64

-

-

The sequence number is assigned to a log entry by the systemd-journald instance when they are written to disk. Every instance numbers their entries sequentially, starting from 1 for the first entry written after subsystem initialization.

Level

The log level represents the priority of the log.

Table 3. Available values for blickfeld.diagnostics.data.Log.Entry.Level enum
Name Value Description

LEVEL_UNSPECIFIED

0

No level is set

LEVEL_ERROR

1

An error condition was detected

Includes the systemd levels: EMERGENCY, ALERT, CRITICAL, ERROR

LEVEL_WARNING

2

The message indicates that an error will occur if no action is taken

Includes the systemd levels: NOTICE, WARNING

LEVEL_INFO

3

Normal operational messages that require no action

Includes the systemd levels: INFORMATIONAL