How to save the log to HDD ?



  • how to save the log to HDD ?  /var/log/portalauth.log – cleaned after reload pfsense....



  • I believe you could do this with a cron job.  You'd setup the job to copy that log file to an area on the drive every so often.  I don't see a way to setup cron through the WebGUI, so you'll probably need to SSH in or try the Diagnostics > Command Prompt (unsupported, release 2.0-RC1) method.

    I've never setup a cron job myself, but I have run across plenty of tutorials online that tell you how.


Locked