Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asynchronous Logging To A Database .Net [closed]

i Was wondering what people are using for logging in .net. We have log4net here, but am looking to do it async and to a database with a nice viewer.

What are the popular choices??

Regards.

like image 997
mickdelaney Avatar asked Apr 15 '09 16:04

mickdelaney


2 Answers

Log4Net delivers log messages to appenders synchronously, but the appenders can behave asynchronously according to this. The SqlServerAppender has a bufferSize property that controls how many log events are collected in the buffer before they are written to the database. If that doesn't meet your needs, you could write your own appender. A reply in this post appears to give a working example.

like image 118
Jamie Ide Avatar answered Nov 15 '22 04:11

Jamie Ide


Try logFaces, it's centralized log server, aggregator and viewer, works nicely with log4net UDP appender.

Disclosure: I am the author of this product.

like image 23
Dima Avatar answered Nov 15 '22 02:11

Dima