문제

Does anyone know how to configure Elamh for an Azure worker role? I've installed it but it doesn't seem to do anything - when exceptions occur they don't get logged. It works perfectly in my MVC project.

Is there any specific guidance for Azure worker role with Elamh?

도움이 되었습니까?

해결책

Azure Worker Roles have IIS disabled by default which means you can't use ELMAH. You might have to try a more traditional logging approach.

On my most recent project, we decided to have our Worker Roles log to table storage and it works really well. However, there have been some recent advancements since we first started that make logging much easier.

For more information, check out Take Control of Logging and Tracing in Windows Azure

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top