Enterprise Library Logging Block and MSMQ Part 0 The Concept
The need was to send logs from different sources to a centralized database without immpacting performances on heavy load. The solution must not loose any log if any of the servers are going down.
Using a queuing Mechanism would ensure that all messages are being sent in an async way. In case of Network Failure or if the Logging sever is not available, the logs will be kept on the source server. MSMQ was choosen as the technology was already being used with Biztalk 2004
Microsoft Enterprise Library propose a Logging Block that can be use in the curren t.Net developments. It is also coming with a tool to read data from a queue and push it to a Database. It was also customizable.