description | title | ms.date | f1_keywords | ms.assetid | |
---|---|---|---|---|---|
Learn more about: Unable to write to log file because writing to it would reduce free disk space below ReservedSpace value |
Unable to write to log file because writing to it would reduce free disk space below ReservedSpace value |
07/20/2015 |
|
95832e70-4ecc-47aa-90c1-f35c4d468151 |
Unable to write to log file because writing to it would reduce free disk space below ReservedSpace value
The xref:Microsoft.VisualBasic.Logging.FileLogTraceListener class could not write to the log file because:
-
The amount of free disk space (in bytes) is less than the value of the xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.ReserveDiskSpace%2A property
—and—
-
The value of the xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.DiskSpaceExhaustedBehavior%2A property was xref:Microsoft.VisualBasic.Logging.DiskSpaceExhaustedOption.ThrowException.
-
Archive the existing logs and remove them from the computer to allow the xref:Microsoft.VisualBasic.Logging.FileLogTraceListener object to create new logs.
-
Change the value of the xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.ReserveDiskSpace%2A property to a smaller number to reserve less disk space.
-
Set the xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.DiskSpaceExhaustedBehavior%2A property to xref:Microsoft.VisualBasic.Logging.DiskSpaceExhaustedOption.DiscardMessages to discard messages without warning if there is not enough free disk space.
- xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.ReserveDiskSpace%2A
- xref:Microsoft.VisualBasic.Logging.FileLogTraceListener.DiskSpaceExhaustedBehavior%2A
- xref:Microsoft.VisualBasic.Logging.FileLogTraceListener
- My.Application.Log
- My.Application.Info.DirectoryPath