[racket] web server log format
On Mon, Dec 12, 2011 at 2:32 PM, Jordan Schatz <jordan at noionlabs.com> wrote:
> On Mon, Dec 12, 2011 at 11:30:59AM -0700, Jay McCarthy wrote:
> > But the Racket Web server only has request logging by default, not
> response
> > logging, so it makes something up in these positions. I will update the
> > docs to mention this.
>
> I think that a single dash is typically used if a value is missing or
> unknown:
>
> http://en.wikipedia.org/wiki/Common_Log_Format
> A "-" in a field indicates missing data.
>
> http://www.w3.org/TR/WD-logfile
> If a field is omitted for a particular entry a single dash "-" is
> substituted.
>
Alrighty, I'll do that.
>
> Is there a performance reason for not logging information about the
> response? It would seem that (especially) the response code would be
> valuable to include by default?
>
The logging is for logging requests, not responses. You could make a system
for logging responses, but the Racket Web server doesn't have one.
Jay
>
> Shalom,
> Jordan
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111212/151d98c8/attachment.html>