I have this dusty syslog-ng 3.1.3
that writes to a database and all is working well however it seems to keep only 30 days of logs (last table is logs20150826
)
How can I increase that? I see nothing immediately clear in the documentation.
There are some references in logrotate dirs but nothing that seems to be controlling the mysql destination and nothing in /etc/syslog-ng/syslog-ng.conf
so this 30 day retention must be some kind of default.
Check if you have php-syslog-ng installed, syslog-ng isn't responsible for this.
Source http://www.debianhelp.co.uk/syslog-ng.htm