Browse files

Change cleanup to remove trace files instead of removing directory

  • Loading branch information...
1 parent 32cf6bd commit 4a1cc9aa94ce529040f8fc006ee1258437a2ce9b @pranavkm pranavkm committed Jan 17, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 Kudu.Services/SourceControl/LiveScmController.cs
View
4 Kudu.Services/SourceControl/LiveScmController.cs
@@ -92,7 +92,9 @@ public void Delete(int deleteWebRoot = 0)
using (_tracer.Step("Deleting Logs"))
{
- FileSystemHelpers.DeleteDirectorySafe(_environment.LogFilesPath);
+ // Cleanup the trace directories
+ FileSystemHelpers.DeleteDirectoryContentsSafe(_environment.TracePath);
+ FileSystemHelpers.DeleteDirectoryContentsSafe(_environment.DeploymentTracePath);
}
}
},

0 comments on commit 4a1cc9a

Please sign in to comment.