httpd::logstd(n) 1.0 "Tcl Web Server"

Name

httpd::logstd - Standard information for the log

Table Of Contents

Synopsis

  • package require httpd::logstd ?1.0?

Description

The package httpd::logstd provides command generating the standard data to show in the server logs.

Public API

LogStandardData sock now

Generates a standard web log file record for the current connection sock and return it as the result of the command. This records the client address, the URL, the time, the error code, and so forth. The time is provided by now, in seconds.

LogValue var

Generates a field or the default "null field" representation for the data in the variable var. A null field is generated if the variable does not exist in the calling scope.

See Also

httpd, httpd::log

Keywords

log, trace, web server