Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure how to enable full WebJob logs

When I run a console application as a WebJob in Windows Azure, after few lines of log it adds a warning:

[05/06/2014 09:42:40 > 21026c: WARN] Reached maximum allowed output lines for this run, to see all of the job's logs you can enable website application diagnostics 

And stops logging. I was going through all settings in my Website with BASIC hosting plan but I was unable to find anything that would fix this issue.

How can I enable full webJob logs?

like image 286
Vojtech B Avatar asked May 06 '14 10:05

Vojtech B


1 Answers

The way to enable full (continuous) WebJobs logs is actually in the error message: enable website application diagnostics, you can do this via the Azure portal on the website's CONFIGURE tab, you can set the application logs to go to either the file-system (but only for 12 hours), table storage or blob storage.

Once enabled the full logs for WebJobs will go on the selected storage.

More info on application diagnostics for Azure websites: http://azure.microsoft.com/en-us/documentation/articles/web-sites-enable-diagnostic-log/

like image 147
Amit Apple Avatar answered Sep 23 '22 02:09

Amit Apple