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

    What about "package logs"

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 2 Posters 4.1k 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.
    • _
      _igor_
      last edited by

      Now its a while this entry exists, but ther is not even one package which puts its logs there.

      To give only one example: squid.

      I have to access pfsense via ssh to see the logs. Thats not very helpful. I don't know who are the respective devs of the packages, butย  wouldn't it be nice to see any package-log here?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That's up to the individual package maintainers, really. I'm not sure any packages actually use it. If there were more examples/documentation of how to tie into it, it might see more use.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • _
          _igor_
          last edited by

          Yep, thats what i'm thinking too. I was thinking about asking the question in the forum "packages", but due to the fact that its a version 2 question too, i decided asking here.
          Unfortunately no package logs there, its only message is "No packages with logging facilities are currently installed.", which in fact is not true.

          My second thinking was that the maintainers of the packages would look here to see what changes ccur to the respective handling in pfSense 2, so it made the most sense to me.

          edit: I think, i will ask the same question in packages.
          Much thanks for your answer.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Looks like that page assumes the packages will log with clog, which none of them do even if they have logs.

            It should be easy for a package to specify in its xml where its logs will be stored (or in the case of squid, where it's configurable, it could be determined logically), and then the package logs page could merely display those files. Not sure if clearing them would be possible in a way that would be automatic unless a package included its own function to clear its log. Some will do fine with a -HUP and others require a full restart.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • _
              _igor_
              last edited by

              hmmm, maybe that could be solved via a cron-job. But in deep only the maintainer can tell us which is the best way to accomply this task.

              For the most people it would be great to see that logs without having to switch via ssh into the box and grab all logs in their respective folders, which could be a long task if that logs are stored all over the file-system.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                You never need ssh to do that if you know where the logs are, you can use Diagnostics > Command, or Diagnostics > Edit File (and the latter can even browse through the filesystem with a GUI)

                I wouldn't do the log clearing with a cron job most of the time, only manually, but I suppose that might be a personal preference.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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