2023-10-07 23:20:21
2023-10-06 14:01:12
2023-10-06 13:51:51
1846305
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.
like this
herve_02, β‘°///β¨ and Raroun like this.
:debian: πππππ :opensuse:
•Hypolite Petovan
•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
•Peter Krefting
•Hypolite Petovan likes this.
Hypolite Petovan
•Hypolite Petovan
•Hypolite Petovan
•Alexandra Lanes likes this.
Alexandra Lanes
•Hypolite Petovan
•hackbyte (friendica) 13HB1
•Alexandra Lanes
•hackbyte (friendica) 13HB1 likes this.