-
|
Hi, I need the directory What's the best way to achieve this? Move the directory and symlink it to |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
switch to full logging https://dietpi.com/docs/software/log_system/#dietpi-ramlog |
Beta Was this translation helpful? Give feedback.
-
|
That's what I did and then my NFS share went down, causing the system to log more than 100GB access failures to I don't need any of these logs, except |
Beta Was this translation helpful? Give feedback.
-
It would have been helpful to have this information at the beginning.
You can do that, although I'm not sure if the CleanUp job also follows symbolic links. |
Beta Was this translation helpful? Give feedback.
-
|
Symlink approach seems to work fine. Thanks. |
Beta Was this translation helpful? Give feedback.
You can indeed just create a symlink to have the actual directory outside of the tmpfs
/var/log. The cleanup script does not follow symlinks. This is how the file list for the cleanup script is obtained:*.db*files are skipped as well.If
/var/log/syslogand/var/log/user.logexist but are not needed, uninstall the syslog daemon you use, like probablyrsyslog?If some other package depends on that package, maybe it does not require the service to run instead:
systemdby default logs tosystemd-journald=>journalctlwhich is kept in RAM. It splits and sends logs additionally to other installed syslog da…