I have managed to get asycnhronous logging work for an asp.net application
and I wanted some clarification on the method.

Normally if the application is logging synchronously it has all the settings
for the logging application block in the app.config for the application. But
if you want to use asynchronous logging you have to specify asynchronous
logging for all logging types in the app.config of the application and then
define the extact logging sinks in the app.config of the msmqdistributor.exe
(windows service). Is this correct?

Seems rather confusing and rather messy - application specific logging
information have to be put into a generic widows service that could be used
by more than one application on the system.

cheers

Ollie Riches

Re: Enterprise Library - Asynchronous Logging... by neter

neter
Tue Sep 06 02:38:05 CDT 2005

Ollie Riches wrote:
> I have managed to get asycnhronous logging work for an asp.net application
> and I wanted some clarification on the method.
>
> Normally if the application is logging synchronously it has all the settings
> for the logging application block in the app.config for the application. But
> if you want to use asynchronous logging you have to specify asynchronous
> logging for all logging types in the app.config of the application and then
> define the extact logging sinks in the app.config of the msmqdistributor.exe
> (windows service). Is this correct?
>
> Seems rather confusing and rather messy - application specific logging
> information have to be put into a generic widows service that could be used
> by more than one application on the system.
>
> cheers
>
> Ollie Riches
>
>
Hello, maybe you should give a try to the NLog library - it supports
async logging AFAIK. http://nlog.sourceforge.net

Best regards
RG