Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebJobs SDK - Omitting the AzureJobsDashboard connection string

Has anything changed recently in the Azure WebJobs SDK around the omission of the AzureJobsDashboard connection string? Up until recently if this connection string was left out the WebJobs dashboard would not show / store any invocation logs etc. Now if this connection string is removed the WebJob will not start at all... Has anyone else noticed this or found a work around?

I do not want any queue messages logged in the invocation logs so would be interested to hear if anyone else has achieved something similar?

Thanks, Phil.

like image 431
pmgrove Avatar asked Oct 21 '22 03:10

pmgrove


1 Answers

I faced the same problem, but it solved by:

  1. Set AzureWebJobsDashboard in config file to avoid the error, then
  2. Set it to null in code to stop logging.


JobHostConfiguration config = new JobHostConfiguration();
config.DashboardConnectionString = null;

and that works with me

like image 152
maha saad Avatar answered Oct 23 '22 01:10

maha saad