rp_debug

one of the documented procedures in this installation of the ACS
Usage:
rp_debug   string
What it does:
Logs a debugging message, including a high-resolution (millisecond) timestamp.
Defined in: /web/philip/packages/acs-core/request-processor-procs.tcl

Source code:


    if { [ad_parameter DebugP request-processor 0] } {
	global ad_conn

	# Set the timestamp, if $ad_conn(start_clicks) has been initialized.
	if { [info exists ad_conn(start_clicks)] } {
	    set timestamp "[expr { ([clock clicks] - $ad_conn(start_clicks)) / 1000 }]ms"
	} else {
	    set timestamp "unknown time"
	}

	ns_log "Notice" "RP \[[peeraddr]\] ($timestamp): $string"
    }


philg@mit.edu