We don't want to use rsyslog for logfiles: only journald.
This breaks the "Tracking Center", it shows nothing when rsyslog is removed. To fix it, i've renamed pmg-log-filter to pmg-log-filter.real and wrote a tiny script as replacement for pmg-log-filter:
before this, run "dpkg-divert --divert /usr/bin/pmg-log-tracker.real --rename --add /usr/bin/pmg-log-tracker"
This works, but isn't this performant i guess as always the full log is parsed. are there plans to directly support journald in pam-log-filter?
These parameters are used for the Tracking Center it seems: "-v -l 2000 -s 1712901436 -e 1712959201 -n -g"
So if slightly adjusted, journalctl would show only the required log and the performance could be improved.
Anyone else interested in a journald only system? Is there a ticket / feature request about this?
Edit: i've created a feature request ticket: https://bugzilla.proxmox.com/show_bug.cgi?id=5375
This breaks the "Tracking Center", it shows nothing when rsyslog is removed. To fix it, i've renamed pmg-log-filter to pmg-log-filter.real and wrote a tiny script as replacement for pmg-log-filter:
Code:
#!/bin/sh
journalctl -u "postfix*" -u pmg-smtp-filter | /usr/bin/pmg-log-tracker.real -i - $@
before this, run "dpkg-divert --divert /usr/bin/pmg-log-tracker.real --rename --add /usr/bin/pmg-log-tracker"
This works, but isn't this performant i guess as always the full log is parsed. are there plans to directly support journald in pam-log-filter?
These parameters are used for the Tracking Center it seems: "-v -l 2000 -s 1712901436 -e 1712959201 -n -g"
So if slightly adjusted, journalctl would show only the required log and the performance could be improved.
Anyone else interested in a journald only system? Is there a ticket / feature request about this?
Edit: i've created a feature request ticket: https://bugzilla.proxmox.com/show_bug.cgi?id=5375
Last edited: