EnterpriseLibrary.SemanticLogging throwing errors

Topics: Enterprise Library Core, Semantic Logging Application Block
Feb 9 at 12:46 AM
Edited Feb 9 at 12:48 AM
Our application is using SLAB service and in one of our server instance it is not able to write any logs and we are seeing the below error…

ProviderId : d1ed7ec7-5701-5554-2c5e-796dc42511c5
EventId : 400
Keywords : 1
Level : Critical
Message : A rolling flat file sink failed to write an event. Message: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.RollingFlatFileSink.StreamWriterRollingHelper.PerformRoll(DateTime rollDateTime)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.RollingFlatFileSink.OnSingleEventWritten(EventEntry entry)
Opcode : Info
Task : 65134
Version : 0
Payload : [message : System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.RollingFlatFileSink.StreamWriterRollingHelper.PerformRoll(DateTime rollDateTime)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.RollingFlatFileSink.OnSingleEventWritten(EventEntry entry)]
EventName : RollingFlatFileSinkWriteFailedInfo
Timestamp : 2016-02-02T05:14:40.2149222Z
ProcessId : 1388
ThreadId : 2352

I increased size of file to 10MB but still i see issue happening..The rolling file hasnt been updated for a month now..