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

NAME

httpd::logstd - Standard information for the log

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    Public API
    SEE ALSO
    KEYWORDS
    COPYRIGHT

SYNOPSIS

package require httpd::logstd ?1.0?

LogStandardData sock now
LogValue var

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

COPYRIGHT

Copyright © 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>