How do I get rid of this module or at least disable it. It is classed as used
Continuing the discussion from [Removing unwanted Modules for better security](https://
Is there a disable option rather than a delete? Disabling by username would involve going to each user and I am not sure it if would remove anything i.e. those extra entries in the log.
There are mail ones, but is this not a kernel File /var/log/kern.log kern.*
Try using Refresh Modules. Maybe it’ll figure out you don’t have rsyslog. I think it just checks for the config file, and if one doesn’t exist, it’ll be considered unused.
I didn’t install it manually but it is present on my dev site with both log viewers.
It is not present on my live site
I will uninstall rsyslog and see what happens
Additional
In both System Logs and System Logs Viewer there is a configuration option called Show logs from other modules?which reduces.increases what logs it shows. I am not sure how this interaction works just that it is there.
the new System Logs Viewer is missing these (I can add them manually) but I think they perhaps should be part of the default. I do miss the mail ones as it is helpful to diagnost mail only issues.
/var/log/auth.log
/var/log/syslog (not sure what this one is for)
/var/log/kern.log
/var/log/mail.log
/var/log/mail.err
p.s.
on my live site these log files do not exist.
Is it possble to add filtering of the logs by postfix/smtpd, dovecot etc…
add the ability to add our own journal commands, not just log files.
Ubuntu 22.04 should have both modules working, i.e., System Logs and System Logs Viewer, because rsyslog is still installed by default in Ubuntu 22.04, and it’s a systemd system.
The only difference between my virtualmin installs linux wise is that I will of used a slightly different point release of ubuntu when I installed, all 22.0x.x
I always use ths minimal server version.
According to this thread it looks like Ubuntu are moving away from rsyslog and focussing on Journalctl so it would make sense that it was removed between point releases.
The minimized image does not contain rsyslog. Your experience is expected.
You are right that journald is still installed as part of systemd. The /dev/log file has pointed to journald for several LTS releases now. The default settings for journald include ForwardToSyslog=yes, which is why rsyslog still processes logs when installed.
Conclusion
System Logs module is not present/used because rsyslog was never installed and I have one virtualmin setup with and 2 virtualmins without rsyslog because Ubuntu have removed it from the default minimal server installer.
NB: the 2 without rsyslog were made after the one with.