Please add error logging for each function with automatic sending of error report to the server

Yes, @FranklyFlawless does have a server… They all should be directed there from everyone :smiley:

But seriously: collecting logs is for those, who want some extra security (although it’s after the incident, even if you have something else going through and analyzing the logs constantly). This is so extra that it’s hard to imagine this being set up for all and done automatically. You need a server and service and not many have those. On the latter, rsyslog is a mighty tool (Welcome to Rsyslog — rsyslog 8.18.0.master documentation - it’s a hefty manual to set one up, and for starters you may want to look at something more straight forward like: How to Set Up Centralized Logging on Linux with Rsyslog | Better Stack Community). Several devices and other softwares have logforwarding and combining logs makes them more valuable/revealing.

Bonus points: if you really want to get most out of logs, they need to be long enough (not just a few weeks, takes disk space), and they need to be in sync with clocks (times of the different devices). And they need to be monitored. Just sending them somewhere isn’t that useful.

Some old threads close to this: https://forums.puri.sm/t/how-to-get-lirem-5-kernel-log-in-var-log-syslog-in-addition-to-systemd-journal

1 Like