[racket] web server log format

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Dec 9 20:42:04 EST 2011

Hah. I just looked at the code and it has always had 200 and 512 hard-coded
in the logging function. Hah. I'll fix it for the next release sometime
tomorrow.

Jay

On Fri, Dec 9, 2011 at 5:07 PM, Jordan Schatz <jordan at noionlabs.com> wrote:

> I have a web server with logging setup like so:
> (serve/servlet start
>               #:log-file "../logs/server"
>               #:log-format 'apache-default)
>
> Here are the headers from a client request
> HTTP/1.1 200 OK
> Date: Fri, 09 Dec 2011 21:23:16 GMT
> Last-Modified: Thu, 08 Dec 2011 05:04:56 GMT
> Server: Racket
> Content-Type: text/html
> Accept-Ranges: bytes
> Content-Length: 2629
>
> And here is what the log records:
> 69.51.119.190 - - [09/Dec/2011:16:23:16 -0500] "GET /index.html HTTP/1.1"
> 200 512
>
> The log's request size doesn't seem to match the content length of the
> request, 512 vrs 2629, also every request size in the log is 512. Am I
> missing something?
>
> Thanks,
> Jordan
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
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/20111209/7cf54cbd/attachment.html>

Posted on the users mailing list.