Skip to content

Enabling Velox logs

Vicente Adolfo Bolea Sanchez edited this page Oct 3, 2018 · 1 revision

One of the easiest ways to debug Velox is via its logs.

Understanding the logs

Velox is normally deployed in multiples machines. Checking each of the machines is very tiring, thus forwarding all the Velox log message to a central node (Master node) makes a lot of sense.

Velox log facilities makes use of syslog (can be rsyslog/syslog-ng depending on the OS).

Configuration

Master node

We have to enable the master node to accept log messages from remote servers (This is to open some sockets) For that purpose we will make a new file at /etc/rsyslog.d/99-velox.conf:

the file here

Afterwards we should restart the rsyslog daemon systemctl restart rsyslog.

Slave nodes

TODO Editing .eclipse.json file

TODO