private static void CommitLogLines(object state)
 {
     for (;;)
     {
         if (RequestLogListener.logQueue.Count <= 0)
         {
             RequestLogListener.logCommitSignal.WaitOne();
         }
         else
         {
             LogData logData = RequestLogListener.logQueue.Dequeue() as LogData;
             RequestLogListener.CommitLog(logData);
         }
     }
 }
 public override void Flush()
 {
     RequestLogListener.AppendLog(this.logData);
 }