Logs below:
"GET /en-us/LOGO HTTP/1.1" 404 13549 0 "Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/21D61 [FBAN/FBIOS;FBDV/iPhone15,2;FBMD/iPhone;FBSN/iOS;FBSV/17.3.1;FBSS/3;FBID/phone;FBLC/en_US;FBOP/5]"
getting extra things for logo in access logs how to resolve this?
Views
Replies
Total Likes
Hi @Keerthi0555
Below is the User Agent String, this you cannot avoid, this is based on user device.
"Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/21D61 [FBAN/FBIOS;FBDV/iPhone15,2;FBMD/iPhone;FBSN/iOS;FBSV/17.3.1;FBSS/3;FBID/phone;FBLC/en_US;FBOP/5]"
However you may reject request based on user-agent or use caching for /en-us/LOGO to reduce number request hitting AEM.
Thank you for the reply, but how to reject user-agent based requests
It seems like it is logging ipaddress along with browser from where it is accessed, but this is done by dispatcher by default, is there any way to stop logging this ?
Try to customize the log, below are some references:
https://stackoverflow.com/questions/25672061/exclude-user-agent-from-apache-logs
https://httpd.apache.org/docs/2.4/mod/mod_log_config.html
Views
Likes
Replies
Views
Likes
Replies