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

    New error in System Log.

    Scheduled Pinned Locked Moved webGUI
    12 Posts 3 Posters 1.2k 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.
    • viktor_gV
      viktor_g Netgate
      last edited by

      pfSense version?

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Current. 2.4.5-p1.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Yeah if you ask for something that is not there.. Then it logs it..

          log.png

          Are you asking how to turn off that logging? Not exactly sure what the question is here.. As you can see I asked for some gibberish file - that clearly does not exist. And it was logged.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            No, not at all. Just wondering why it asked for that file. My guess (not saying it's a good guess mind you) is that the browser is being misidentified and an icon that doesn't exist is trying to load. Specifically apple-touch-icon-precompressed.png. Never saw this before, always used Firefox. Decided to give Safari a try after updating the OS. I'm not explicitly asking for anything.

            Screen Shot 2020-11-14 at 08.30.15.png

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              What does that have to do with pfsense? Go ask over on the apple forums ;)

              What your application or browser asks is up to the application or browser.. Not the web server, or in this case nginx running your webgui on pfsense.

              That is like a favicon for safari from my understanding..

              Guess pfsense could add that? Or they could set the nginx not to log such nonsense..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @johnpoz
                last edited by A Former User

                @johnpoz OK. That's actually what I was wondering. It's the browser asking for a favicon (or something). It's just log spam. Apple doing something 'different' and that's not accounted for. Who woulda though it...

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  So I see these favicons

                  [2.4.5-RELEASE][admin@sg4860.local.lan]/usr/local/www: ls -la *.png
                  -rw-r--r--  1 root  wheel   6479 Jan 23  2020 android-chrome-192x192.png
                  -rw-r--r--  1 root  wheel  19007 Jan 23  2020 android-chrome-512x512.png
                  -rw-r--r--  1 root  wheel   6170 Jan 23  2020 apple-touch-icon.png
                  -rw-r--r--  1 root  wheel   1162 Jan 23  2020 favicon-16x16.png
                  -rw-r--r--  1 root  wheel   1842 Jan 23  2020 favicon-32x32.png
                  -rw-r--r--  1 root  wheel   3578 Jan 23  2020 mstile-150x150.png
                  [2.4.5-RELEASE][admin@sg4860.local.lan]/usr/local/www: 
                  

                  You could just add your file there and that would get rid of the log spam..

                  Maybe there is a redmine out for this? You could create one to get that updated if apple changed what they are looking for, etc.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @johnpoz
                    last edited by

                    @johnpoz Yeah. I've added it to the list of stuff to get to this weekend. I should do some more work around this to make sure it's isolated to the new Safari browser version on the new OS. I know the pfsense people love vague bug reports ;)

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz

                      Wouldn't really call it a bug.. Its a feature request to add some favicon file that is not currently included would be how I would look at it..

                      Now if they had put the file in there and it didn't work, or they had a typo in the name of the file or something.. Then ok that would be a "bug" ;)

                      Maybe new versions stop looking for that apple-touch-icon.png and now only look for this precomposed file name?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @johnpoz
                        last edited by

                        @johnpoz Understood.

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          Maybe the feature request would be something like ability to add any favicons your browsers or applications look for easy.. I personally would be more for a easy way to not have nginx log stupid shit like that ;)

                          I think you can do something like this

                          location = /favicon.ico { access_log off; log_not_found off; }
                          

                          In the nginx conf where it does not log specific things if not found.. So you could list or let users edit this list so that noise like that is not logged..

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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