DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 26 days agoIs it good practice to run a system without a syslog daemon?message-squaremessage-square14fedilinkarrow-up18arrow-down11file-text
arrow-up17arrow-down1message-squareIs it good practice to run a system without a syslog daemon?DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 26 days agomessage-square14fedilinkfile-text
If I’m using Arch or another minimal distro, is it a good idea to install a syslog daemon? Or can I go without?
minus-squareMummifiedClient5000@feddit.dklinkfedilinkEnglisharrow-up2·26 days agoCheck that you actually have persistent storage enabled. (See man journald.conf and search for Storage) Read up on the numerous parameters to journalctl. (man journalctl) journalctl --boot -2 will show logs from previous boot. journalctl --since "-2 weeks" --unit=sshd last two weeks worth of sshd logs.
minus-squarepatatahooligan@lemmy.worldlinkfedilinkarrow-up3·25 days agoI think there’s a minor mistake in your command. jounalctl --boot -1 is the previous boot. The counting starts at --boot 0 for the current one.
minus-squareMummifiedClient5000@feddit.dklinkfedilinkEnglisharrow-up1·25 days agoYou’re right ofcourse.
minus-squareDeltaWingDragon@sh.itjust.worksOPlinkfedilinkarrow-up0arrow-down2·25 days agoWhat if I’m on another minimal distro, like Artix, that doesn’t use systemd? Journald is a systemd thing, and I’m not going to install systemd on top of a perfectly good init system.
Check that you actually have persistent storage enabled. (See
man journald.conf
and search forStorage
)Read up on the numerous parameters to journalctl. (
man journalctl
)journalctl --boot -2
will show logs from previous boot.journalctl --since "-2 weeks" --unit=sshd
last two weeks worth of sshd logs.I think there’s a minor mistake in your command.
jounalctl --boot -1
is the previous boot. The counting starts at--boot 0
for the current one.You’re right ofcourse.
What if I’m on another minimal distro, like Artix, that doesn’t use systemd? Journald is a systemd thing, and I’m not going to install systemd on top of a perfectly good init system.