Logging without clog
I would like to keep all log files on the pfsense server.
Unfortunatly clog overwrites the entries regularly or after a reboot.
Is it possible to deactivate clog somehow or to increase size of the cirular log files?
Not easily, but it can be done. You can edit the file that generates our syslog.conf and remove the % from the start of each log file. That will use plain text instead of clog.
Thank you for the answer.
Which file do I have to edit exactly.
I'm not very familiar with the system.
It would be in /etc/inc/system.inc
I'm also interested in holding the logs.
I had a look at the system.inc and I'm just finding this %-sign:
$clog_log = "%";
What should we put in instead of the % - or schould we just delete?
Just remove it. Without the % it logs to just normal plain text files.
Be aware, you will have to monitor the logs and either rotate them manually or setup an automated process.