debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #06632
[Bug 2122061] [NEW] duplicate writing of the journaling
Public bug reported:
Hello
I want to remove duplicate entries in the syslog and kern.log files.
It doesn't work by enabling these options
ForwardToSyslog=no
ForwardToKMsg=no
ReadKMsg=no
in the file grep -v "#" /etc/systemd/journald.conf
See below
a@b:~$ grep -v "#" /etc/systemd/journald.conf
[Journal]
ForwardToSyslog=no
ForwardToKMsg=no
ReadKMsg=no
a@b:~$
a@b:~$ wc -l /var/log/kern.log
897 /var/log/kern.log
a@b:~$ wc -l /var/log/syslog
1621 /var/log/syslog
a@b:~$
I have been using this trick for several years
sudo sed -ri 's/^(\*\.\*;auth,authpriv\.none)/#\1/;s/^(kern\.\*)/#\1/' /etc/rsyslog.d/50-default.conf.
Please let me know if this is the correct way to do this ( Now Ubuntu
24.04.3).
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2122061
Title:
duplicate writing of the journaling
Status in systemd package in Ubuntu:
New
Bug description:
Hello
I want to remove duplicate entries in the syslog and kern.log files.
It doesn't work by enabling these options
ForwardToSyslog=no
ForwardToKMsg=no
ReadKMsg=no
in the file grep -v "#" /etc/systemd/journald.conf
See below
a@b:~$ grep -v "#" /etc/systemd/journald.conf
[Journal]
ForwardToSyslog=no
ForwardToKMsg=no
ReadKMsg=no
a@b:~$
a@b:~$ wc -l /var/log/kern.log
897 /var/log/kern.log
a@b:~$ wc -l /var/log/syslog
1621 /var/log/syslog
a@b:~$
I have been using this trick for several years
sudo sed -ri 's/^(\*\.\*;auth,authpriv\.none)/#\1/;s/^(kern\.\*)/#\1/' /etc/rsyslog.d/50-default.conf.
Please let me know if this is the correct way to do this ( Now Ubuntu
24.04.3).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2122061/+subscriptions