2023-10-07 22:27:47
2023-10-06 14:01:34
2023-10-06 13:51:51
5915509
Thanks, I hate it.
On my fresh #Debian 12 server:
# cat /var/log/README
You are looking for the traditional text log files in /var/log, and they are
gone?
Here's an explanation on what's going on:
You are running a systemd-based OS where traditional syslog has been replaced
with the Journal. The journal stores the same (and more) information as classic
syslog. To make use of the journal and access the collected log data simply
invoke "journalctl", which will output the logs in the identical text-based
format the syslog files in /var/log used to be. For further details, please
refer to journalctl(1).
Alternatively, consider installing one of the traditional syslog
implementations available for your distribution, which will generate the
classic log files for you. Syslog implementations such as syslog-ng or rsyslog
may be installed side-by-side with the journal and will continue to function
the way they always did.
Thank you!
Further reading:
man:journalctl(1)
man:systemd-journald.service(8)
man:journald.conf(5)
https://0pointer.de/blog/projects/the-journal.html
Thanks, I hate it.
:debian: πππππ :opensuse:
in reply to Hypolite Petovan • • •Hypolite Petovan
in reply to :debian: πππππ :opensuse: • • •journalctl --since="[date]" --until="[date]"
is pretty convenient, but I still wasn't able to figure out why all my websites hosted on this server were unreachable for 3 hours earlier today. π€·ββοΈHypolite Petovan
Unknown parent • • •Peter Krefting
in reply to Hypolite Petovan • • •Hypolite Petovan likes this.
Hypolite Petovan
in reply to Peter Krefting • • •Hypolite Petovan
Unknown parent • • •Hypolite Petovan
Unknown parent • • •Alexandra Lanes likes this.
Alexandra Lanes
Unknown parent • •Hypolite Petovan
in reply to Alexandra Lanes • • •hackbyte (friendica) 13HB1
in reply to Hypolite Petovan • • •Alexandra Lanes
in reply to hackbyte (friendica) 13HB1 • •hackbyte (friendica) 13HB1 likes this.