Microsoft Windows Azure is a cloud hosting service for apps in the Windows environment. Azure supports .NET, Node.js, and both Windows and Linux virtual machines. Here’s how to aggregate app and system logs from Azure apps and instances.
Logs from apps on Azure can often be aggregated with the same in-app logging libraries you would use without Azure. For example, a .NET app might use NLog and a Node.js app might use winston.
To configure your Azure app to log to Papertrail, follow the instructions for the log library or language/framework you use, like NLog, log4net, and Node.js/winston. See Configuration.
Finally, if in-app log aggregation does not work for you or you also want other logs (like Linux syslog), continue to “Aggregating logs using system-level tools” below.
Head over to Configuring remote syslog from Windows and point the log collector at the log directory, such as
This can be baked into your custom image or rolled out as part of a post-boot deployment process.
Finally, if neither of the above option are suitable, please contact us to see what other options we may have. We can usually suggest a solution based on your environment.
Azure has an idle timeout of 4 minutes. This is configurable for inbound connections via the Azure load balancer, but not outbound.
We’re happy to help. Ask a question or join support chat here.