New error in System Log.
-
pfSense version?
-
Current. 2.4.5-p1.
-
Yeah if you ask for something that is not there.. Then it logs it..
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.
-
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.
-
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..
-
@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...
-
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.
-
@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 ;)
-
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?
-
@johnpoz Understood.
-
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..