Steps:
Solution:
Open ServiceDefinition.csdef and change
<LocalResources>
<LocalStorage name="WCFServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />
</LocalResources>
to reflect your new name of the service as the .svclog file.
- Create a Azure Web Project with WCFServiceWebRole with default settings
- Change the default name in Solution Explorer of the associated Web Service by renaming the project name.
- File AzureLocalStorageTraceListener.cs will throw an error in line
directory.Path = RoleEnvironment.GetLocalResource("WCFServiceWebRole.svclog").RootPath;
where the .svclog file name will depend on the new name you gave to the service
Solution:
Open ServiceDefinition.csdef and change
<LocalResources>
<LocalStorage name="WCFServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />
</LocalResources>
to reflect your new name of the service as the .svclog file.