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.<div><br></div><div>Jay<br><br><div class="gmail_quote">On Fri, Dec 9, 2011 at 5:07 PM, Jordan Schatz <span dir="ltr"><<a href="mailto:jordan@noionlabs.com">jordan@noionlabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have a web server with logging setup like so:<br>
(serve/servlet start<br>
#:log-file "../logs/server"<br>
#:log-format 'apache-default)<br>
<br>
Here are the headers from a client request<br>
HTTP/1.1 200 OK<br>
Date: Fri, 09 Dec 2011 21:23:16 GMT<br>
Last-Modified: Thu, 08 Dec 2011 05:04:56 GMT<br>
Server: Racket<br>
Content-Type: text/html<br>
Accept-Ranges: bytes<br>
Content-Length: 2629<br>
<br>
And here is what the log records:<br>
69.51.119.190 - - [09/Dec/2011:16:23:16 -0500] "GET /index.html HTTP/1.1" 200 512<br>
<br>
The log's request size doesn't seem to match the content length of the<br>
request, 512 vrs 2629, also every request size in the log is 512. Am I<br>
missing something?<br>
<br>
Thanks,<br>
Jordan<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jay McCarthy <<a href="mailto:jay@cs.byu.edu" target="_blank">jay@cs.byu.edu</a>><br>Assistant Professor / Brigham Young University<br><a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>"The glory of God is Intelligence" - D&C 93<br>
</div>