Exporting logs to file

  • I am reading that the only way to view logs is with clog command due to architecture of log file.
    Can anyone tell me if there is  a way to export to txt or another readable file?  I'd like to send them to myself via email for review, or just copy them to external drive for reviewing later.

    Thanks for any input

  • Set up key based authentication for SSH so you don't have to type passwords all the time. Then you can simply do this on a client machine:

    ssh root@pfsense.mylan clog /var/log/system.log >firewall-system.log.txt

  • kpa -

    Thanks so much!

Log in to reply