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?
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With