
Originally Posted by
hcvv
I assume you are confused here and think that the -a option means "all entries". This is not the case. Reading
you will find at the very beginning:
Thus it will show "all" by default.
And about the -a option:
which has nothing to do with the selection of entries to be shown.
Thanks for the clarification. I read the man page too fast and assumed too much 

Originally Posted by
karlmistelberger
Did you tinker with logging? My machine never had /var/log/messages. Everything here goes to /var/log/journal/ See 'man journald.conf'.
No, I did not tinker. Rsyslog is set by default on any 15.1 or 15.2 install I have done with LXDE, LXQt and KDE.

Originally Posted by
deano_ferrari
I assume the OP has rsyslog active concurrently. That logs to /var/log/messages by default.
Code:
systemctl status rsyslog
Yes.
Code:
chris@asus-roc:~> systemctl status rsyslog
● rsyslog.service - System Logging Service
Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-03-03 07:48:10 AWST; 8min ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Main PID: 1265 (rsyslogd)
Tasks: 5
CGroup: /system.slice/rsyslog.service
└─1265 /usr/sbin/rsyslogd -n -iNONE
chris@asus-roc:~> systemctl status rsyslog
● rsyslog.service - System Logging Service
Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-03-03 07:48:10 AWST; 2h 30min ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Main PID: 1265 (rsyslogd)
Tasks: 5
CGroup: /system.slice/rsyslog.service
└─1265 /usr/sbin/rsyslogd -n -iNONE
I guess I just need to disable rsyslog.service and the binary logs start in either /run/log/journal or /var/log/journal depending on journald.conf Storage setting.
Code:
Storage=
Controls where to store journal data. One of "volatile", "persistent", "auto" and "none". If "volatile", journal log data will be stored only in memory, i.e.
below the /run/log/journal hierarchy (which is created if needed). If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal
hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable.
"auto" is similar to "persistent" but the directory /var/log/journal is not created if needed, so that its existence controls where log data goes. "none"
turns off all storage, all log data received will be dropped. Forwarding to other targets, such as the console, the kernel log buffer, or a syslog socket
will still work however. Defaults to "auto".

Originally Posted by
deano_ferrari
Some well-known non-systemd distros would argue with that statement.
Text-based logging (rsyslog, syslog-ng) still exists for those who want it.
I like BSD too 
Now, do I want text based or binary logs?
Thanks all.
Bookmarks