Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to save the log to HDD ?

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sergeyfromkomi
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • T
        TVCCAlan
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.