Skip to content

README

The sample App diaglogbook demonstates how messages are sent to journald and the CtrlX Diagnostics Logbook.

The using of Linux Kernel Log Levels

We recommend to use Linux log levels to define the severity of a log message.

There are eight log levels defined by the Linux kernel:

  1. EMERGENCY The system is unusable (and will be shut down)
  2. ALERT There is a severe error, action must be taken immediately
  3. CRITICAL There is a critical error
  4. ERROR A job was aborted in case of an error
  5. WARNING There is an abnormal condition but the actual job can be finished
  6. NOTICE There is a normal but significant condition
  7. INFO A messages informs about an internal state
  8. DEBUG Message shows details regarding program flow or results

Be carefull with level EMERGENCY: Messages with this level are sent to all consoles!

Debug and Run

  1. Build the executable via cmake plugin.
  2. Launch the app with the debugger attached by pressing F5.

Build and Install the Snap

Build and install the snap like described here.

Test the Snap

  • Open the web interface of your ctrlX CORE
  • Check the output of the diagnosis logbook

Output in diagnosis logbook


License

SPDX-FileCopyrightText: Bosch Rexroth AG SPDX-License-Identifier: MIT