Unable to write to log file because writing to it would reduce free disk space below ReservedSpace value

The FileLogTraceListener class could not write to the log file because:

To correct this error

  1. Archive the existing logs and remove them from the computer to allow the FileLogTraceListener object to create new logs.

  2. Change the value of the ReserveDiskSpace property to a smaller number to reserve less disk space.

  3. Set the DiskSpaceExhaustedBehavior property to DiscardMessages to discard messages without warning if there is not enough free disk space.

See also