The default directory in which the OS writes its logs is '/var/log/', I want to change that directory to another one that I create. How can I do that?
I tried changing the paths (/var/log/.) to (/var/tmp_log/.) in '/etc/rsyslog.conf', created the destination folder '/tmp_log/' and rebooted my PC but it just stopped writing new logs.
then tried to copy the original files from '/var/log/' to '/var/tmp_log/' and it didn't work either.