Setting up system for debug logging: Difference between revisions

From Libreswan
Jump to navigation Jump to search
(Created page with "Systemd jouranld by default rate limits logging. If you enable plutodebug logging you don't get full logs without disabling rate limiting. == Disable rate limiting in journal...")
 
No edit summary
Line 1: Line 1:
Systemd jouranld by default rate limits logging. If you enable plutodebug logging you don't get full logs without disabling rate limiting.
Systemd journald by default rate limits logging. If you enable plutodebug logging you don't get full logs without disabling rate limiting.


== Disable rate limiting in journald ==
== Disable rate limiting in journald ==

Revision as of 09:07, 20 October 2017

Systemd journald by default 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
[Journal]
RateLimitInterval=0
RateLimitBurst=0
  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