views:

71

answers:

1

Im using log4net to log errors or debugging. But sometimes it just stops logging for some time. Is there anything that Im missing or it is the server problem

A: 

If it stops momentarily but it later resumes logging and you don't lose any messages, then it probably is that the buffer hasn't been flushed out and written to the file.

TskTsk
But do you know why it stops for momentarily.I have other log files on the same server which works but this stops logging.
alice7
It's hard to tell... it could be buffering and the buffer isn't full, so it doesn't flush it. It could also be garbage collection.
TskTsk