Running an application in Windows Azure

Your company wants to run a test project for hosting an ASP.NET MVC application in the cloud. Management is not sure whether it is the appropriate solution, so they want to ease into it and see how it goes. You have been asked to make your application work when hosted in a Windows Azure Virtual Machine (VM). Your application depends on other sources, such as supplier systems, for information used within the system, which results in a lot of logging and other transactional tracing within the application. Although your application must work in Windows Azure, you are not supposed to eliminate the ability to work outside of Windows Azure.

Your application uses a third-party logging tool to write to logs that are stored on the local file system. Most methods in the application reference this tool. It will not work when deployed on Windows Azure. What do you need to change?
What Windows Azure diagnostic tools can you include in your application without having to make any code changes that would affect the application’s capability to run in a non-Windows Azure environment?