I’ve deleted logs files (and folders) inside /var/log
So, I’ve quickly understood that’s a crappy way to make some free space…
To come back to a original state, I’ve created some folders for the logs files
nginx (755, root:adm)
redis (755, root:redis)
rspamd (755, root:_rspamd)
touch /var/log/fail2ban.log (777 root:root) I’m sure it’s not clean…
I don’t have this recidive.conf in this folder. So I’ve watched those logpaths on the other files inside this folder, and all logfiles are here (not sure is those logfiles have correct permissions…)
Humm, I’ve made fail2ban.log in /var/log, this one is 0 octet, so nothing is written inside. May be a problem with permissions…? What are the rights on this file in your case please ?
Thx