User Tools

Site Tools

Navigation:  Language Reference > App C - PROP: Runtime Properties > Runtime VIEW and FILE Properties >====== PROP:FlushLog ====== Previous pageReturn to chapter overviewNext page

filelabel{PROP:FlushLog} = 0|1


Flush=1|0 (in the DRIVERS.INI)

Property of a FILE that will disable the default caching of the file logging feature.

By default, the file drivers will cache logging information so that a complete line is written to the log file at one time. This makes the log file easy to read when you have multiple threads running, but has the disadvantage that some information can be lost if a crash occurs.

If you want to make sure that no information is lost during a log run, and don't mind having some mixed up logging information when multiple threads are running, then you can force the file driver to flush the log file whenever there is something to write by adding

file{PROP:FlushLog} = TRUE

or by adding the line


to the driver section of DRIVERS.INI. You can use the trace utility to do this for you.

file{PROP:FlushLog} = FALSE

will turn off flushing.

prop_flushlog.htm.txt · Last modified: 2021/04/15 15:57 by