Last Updated: February 25, 2016
·
979
· giulianoiacobel

Live log stream of apps running on Azure Websites

When in doubt, turn on tracing. Sometimes "got here"-debugging is a great tool.
If you're working with Azure Websites you can easily view the live stream using the Windows Azure Command-Line Tools. These can be installed by using the following command:

npm install azure-cli -g

Done that to view a live stream of diagnostic log information, use the following command from the Windows Azure Command-Line Tools:

azure site log tail [sitename]

This will return a stream of log events that are updated as they occur on the server. This stream will return deployment information as well as stdout and stderr information

You can also filter for specific characters with --filter , so:

azure site log tail [sitename] --filter [FINDthisSTRING]