seq usage with no seq server

116 views
Skip to first unread message

Sebastien Auroux

unread,
Sep 30, 2014, 10:59:36 AM9/30/14
to get...@googlegroups.com
Hello
i ran into an anoying problem

I used log4net client and deploy my application onto an environment that does not have installed the seq server. The result is that all my application struggled when logging. Once I removed the seq appender, my application succeeded to log with log4net without any problem. It would be great to correct this behaviour. I know we are not supposed to use seq client with no server but in a professionnal world, the machine configuration can be difficult to manage. 

thanks

nblum...@nblumhardt.com

unread,
Sep 30, 2014, 5:21:26 PM9/30/14
to get...@googlegroups.com
Hi Sebastien,

Sorry to hear you ran into problems!

The log4net appender for Seq is buffering; for acceptable performance (even with a server attached) it is likely you'll need to increase the buffer size in your application's config file:

      <bufferSize value="100" />

Using async buffering can also speed up log4net in different scenarios, see: http://cjbhaines.co.uk/274/log4net-async-nuget-package-now-available/ for one option that implements it today.

Regards,
Nick

Sebastien Auroux

unread,
Nov 13, 2014, 3:17:36 AM11/13/14
to get...@googlegroups.com
hello
It is very scary that seq client crashes the application if the seq server is not responding. In my case, seq server was not installed but what if the seq server does not respond for another reason. I dont want to use seq in production environment with such a behaviour, it does not feel safe.

sebastien
Reply all
Reply to author
Forward
0 new messages