Info
Version: | 1.0.0.1 |
Author(s): | bradygaster |
Last Update: | Tuesday, July 31, 2012 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://www.gravatar.com/avatar/c24270713c524575b0308e05c7e9ff61?s=128 |
NuGet Url: | https://www.nuget.org/packages/WindowsAzure.WebSites.LogCleaner |
Install
Install-Package WindowsAzure.WebSites.LogCleaner
dotnet add package WindowsAzure.WebSites.LogCleaner
paket add WindowsAzure.WebSites.LogCleaner
WindowsAzure.WebSites.LogCleaner Download (Unzip the "nupkg" after downloading)
Dependencies
- DotNetZip(1.9.1.8)
- WindowsAzure.Storage(1.7.0.0)
Tags
Log files for each site are stored in the site's folder, so they count against the allowed disk quota. This utlity exposes a URL via an IHttpHandler implementation. When hit, the code for this handler zips up all of the Web Site's log files into a ZIP archive. The archive is then persisted to Windows Azure Blob Storage.
A web.config transformation will be executed that adds an appSetting variable and the handler configuration for the URL will expose the functionality.