cs_log_flush

one of the documented procedures in this installation of the ACS
Usage:
cs_log_flush
What 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


philg@mit.edu