Setting up system for debug logging

From Libreswan
Revision as of 09:08, 20 October 2017 by Tuomo Soini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Systemd journald rate limits logging. If you enable plutodebug logging you don't get full logs without disabling rate limiting.

Disable rate limiting in journald

  1. mkdir -p /etc/systemd/journald.conf.d
  2. vi /etc/systemd/journald.conf.d/local.conf
  1. systemctl daemon-reload
  2. systemctl restart systemd-journald.service

Disable rate limiting in rsyslogd

  1. vi /etc/rsyslog.d/local.conf
# Disable IMjournal rate limiting
$IMUXSockRateLimitInterval 0
$IMJournalRatelimitInterval 0
  1. systemctl restart rsyslogd.service