1. Home
  2. Docs
  3. Spectr
  4. Launch and use
  5. Logistics

Logistics

Default log files are saved to
/var/log/spectr/spectr.log
rotation of logs through logrotate.d (rotation configuration: /etc/logrotate.d/spectr).

The messages are as follows:

%timestamp%log_level%function%[%PID%]:%message%

Possible message levels in order of increasing log detail (each level includes previous levels):

  • CRITICAL — critical errors that make it impossible to continue the service.
  • ERROR — significant errors that can affect the stable operation of the service: errors read configuration, start stream processing, etc.
  • WARNING — Warnings that may indicate service or customer malfunction: API call errors, stream restart messages due to error, authorization error
  • INFO — newsletters.
  • DEBUG — minor messages useful for debugging and diagnosis.