How long does Discourse keep IP logs by default?
Thanks
It is listed in our privacy policy which is linked at the bottom of every discourse.org webpage.
2 « J'aime »
I saw those as I was editing my privacy policy; I wasn’t sure whether they were the defaults or specific to meta.discourse.org.
Good to know. Thanks
Vieux sujet, mais une bonne requête consultable.
Je viens de constater que sur mon instance Discourse auto-hébergée standard, la rotation est “quotidienne” et la rétention est de 7 jours (“rotate 7”) :
>
> less /etc/logrotate.d/nginx
/var/log/nginx/*.log {
daily
missingok
rotate 7
compress
delaycompress
create 0644 www-data www-data
sharedscripts
postrotate
sv 1 nginx
endscript
}
Bonne référence ici : logrotate command in Linux with examples (linuxconfig.org)
1 « J'aime »