Skip to content

Flint+Beacon: Logs from Flint are saved using Beacon log server

This MR allow to log Flint using Beacon log server.

  • Bliss log client side CustomSocketHandler was renamed BeaconLogServerHandler as it was designed for.
    • It provides an extra application attribute (which can be bliss or flint for now)
  • The log server was reworked
    • To provide a new attribute application (if none it's feed as bliss).
    • To skip logger object creation (it was not needed)
  • Flint provides logs flagged as application=flint
  • Logs from flint are saved into a dedicated flint file per session. Each record also provides the Flint PID.
$ ls -al /var/log/bliss/
total 32
drwxrwxrwx  2 root  root  4096 Oct 15 14:30 .
drwxr-xr-x 22 root  root  4096 Oct 15 09:24 ..
-rw-r--r--  1 valls soft 12174 Oct 15 14:30 demo_session.log
-rw-r--r--  1 valls soft   102 Oct 15 14:30 flint_demo_session.log

$ more /var/log/bliss/flint_demo_session.log 
2020-10-15 14:30:16,599 demo_session 21991 bliss.flint.manager.manager INFO : Beacon logger connected
Edited by Valentin Valls

Merge request reports