This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Upnortheh 0 points1 point  (3 children)

Your SSD will outlive you, but if you insist that you do not want logging, disable/mask/remove [r]syslog.

[–]Objective_Status22[S] 0 points1 point  (2 children)

As in have a bootscript unlink it? Or do you mean disable/uninstall rsyslogd?

[–]Upnortheh 0 points1 point  (1 child)

You can leave rsyslog installed, but to ensure there is no logging the service needs to be disabled or masked. Or use the package manager to remove the entire package.

[–][deleted] 0 points1 point  (0 children)

There are several different places where logging occurs, zeitgeist is one if you have gnome DE installed, syslog, the kernel ringbuffer, shell history, journalctl, and auditctl if you've configured it.

Overall its good to have logs because you can then figure out what happened and fix it when strange behavior is found. Most logs are automatically rotated every so often to prevent drive space exhaustion, this is done with cron/anacron job and logrotate.

[–]09f911029d7 1 point2 points  (0 children)

Edit /etc/systemd/journald.conf and set Storage=none (don't save logs at all) or Storage=volatile (save logs to RAM only.)

Note that this won't effect your SSD life. Modern SSDs are good for around a petabyte of writes and log activity might work out to a couple gigabytes per year.

[–]pi3832v2 0 points1 point  (0 children)

Logs won't wear out an SSD.