cs_log_flushWhat it does:
Dumps the log file to disk.Defined in: /web/philip/tcl/1-cs-defs.tcl
Source code:
set lock [nsv_get cs_log lock] ns_mutex lock $lock set buffer [nsv_get cs_log buffer] nsv_set cs_log buffer "" ns_mutex unlock $lock set file [open [cs_log_file [ns_time]] "a+"] puts -nonewline $file $buffer close $file