hw-probe icon indicating copy to clipboard operation
hw-probe copied to clipboard

journalctl or syslog in probe?

Open Chocobo-ts opened this issue 7 years ago • 5 comments

Hi! It would be cool to see the logs /var/log/syslog (relevant for DEB-distro) or journalctl (universally for all with systemd)

Chocobo-ts avatar Dec 08 '17 15:12 Chocobo-ts

+1 journalctl can store logs for mutiple boots, than all of them or at least two last will be helpful

mikhailnov avatar Jan 14 '18 08:01 mikhailnov

But they are huge privacy implications, because those logs could contain a lot of sensitive information.

ArchangeGabriel avatar Jun 21 '18 09:06 ArchangeGabriel

+1 journalctl can store logs for mutiple boots, than all of them or at least two last will be helpful

Kernel related messages from the previous boot are already extracted from the journalctl and saved in dmesg.1 if available.

linuxhw avatar Dec 27 '18 05:12 linuxhw

Hi! It would be cool to see the logs /var/log/syslog (relevant for DEB-distro) or journalctl (universally for all with systemd)

May be we need some subset of the journalctl messages (by prefix)? Dumping complete journalctl will be a huge security leak.

linuxhw avatar Dec 27 '18 05:12 linuxhw

You can get the Linux kernel messages using this command. Please note that it could contain a lot of different private things, like serial numbers or the names of programs that segfault etc.

sudo journalctl --dmesg

pabs3 avatar Jul 11 '20 06:07 pabs3