How to prevent Azure WebJob from flooding Application Logs? -
i have webjob deployed alongside web application application logging enabled (log level set verbose). every minute or few big chunks of log entries similar one:
~1my-site /azurejobs/api/functions/invocations/50b8a637-8717-4535-ab71-ee7d9af2a913/children limit=1&x-arr-log-id=d37aa32f-8fa7-4bae-aace-08d4a30ead04 443 - 37.122.166.46 mozilla/5.0+(windows+nt+6.3;+wow64;+trident/7.0;+touch;+rv:11.0)+like+gecko arraffinity=68bd67b08e24ab020dd7d3d5cebe09fdf54a78d10dd6a9e876eb6c934e7d7fe2;+__requestverificationtoken_l2f6dfjlam9icw2=gx2j_o3wzhpjx-ac_ijt8jov_-nmz5ry5k2qia9bhorj1dgubqbxtvw1f7ojjxsn_byfrwlhe724-jjfslaxyvhpcybsfz7a-8rv_evbn0y1 https://my-site.scm.azurewebsites.net/azurejobs/#/functions/invocations/20b8a633-8717-4535-ab11-ee7d9af2a958 my-site.scm.azurewebsites.net 200 0 0 721 1465 31 since getting increasingly difficult spot own log entries among hundreds of these, trying find way disable them - without luck.
is there way configure azurewebjobs not output these kind of log entries?
actually, referring in question entry web server log (iis log), not application log. either way, short answer no. log settings apply both web app , web job.
if you're not senstive costs consider deploying web job separate web app web app hosting web front end. keep logs separate , give flexibility set logging levels independently between 2 web apps.
otherwise, it's matter of how best sort through logs looking for. logparser tool commonly used querying web server logs. command-line tool , useful sort of thing. there's gui tool (logparser studio) on microsoft technet gallery puts nice ui around tool. i've not used logparser studio (i prefer logparser) i've seen looks nice.
Comments
Post a Comment