Logging output

Revision as of 18:25, 14 January 2018 by Boxofstops (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The logging output in Box Of Stops is available for troubleshooting purposes. Day to day this can be safely ignored.

If you are experiencing Latency problems, it may be helpful to look at the logging output, to see how much of the latency is Box Of Stops itself. Note the timings in the example output below.

Latency-output.png

Log to screen

After Starting Box Of Stops, you can see the live logging output directly on the screen.

Typically though, Box Of Stops will have automatically launched itself as a background process on the Raspberry Pi (see Auto start). In this case please look at the log file (see below), or restart Box Of Stops to see the live logging output again.

Log to file

By default, Box Of Stops keeps 3 days of log files. Today's log file is stored as plain text, the older files are zip files.

All these files will be stored at ~/boxofstops/logs (see Directories for more information).

Logging level

By default the level of logging you see is info. In fact this means all info, warn and error messages will show.

This level can be changed from Application properties - look for the logging.level property. Valid values are:

  • debug
  • info
  • warn
  • error
  • off
Last modified on 14 January 2018, at 18:25