How to use LAB Distributor Service?

Topics: General discussion, Logging Application Block
Jul 16, 2009 at 2:18 AM

I want to learn how to use the LAB distributor service. Can you gide me? are there prerequisite before using it?

Jul 16, 2009 at 7:46 AM
Edited Jul 16, 2009 at 7:50 AM


First of all is you would need to setup your distributor service. See this link , it will guide you to setup the distributor service (It would need you to setup a message queuing service on the computer that will accept the logs). Using the distributor service in your app will require you to configure a MSMQ trace listener that will accept all the logs from the app and sends it to the correct location. Now, you would need to configure the config file of the distributor service, to add your required trace listener destinations. For example, in your application's config file, you have a category named "General" which has the msmq trace listener, you would also configure the config of the distributor service to have that same category which contains the destination tracelisteners.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.