>>>>> On Wed, 2 Feb 2005 10:07:58 +0100, "John C. Mallery" <jcma@xxxxxxxxxxxxx>
>>>>> said:
John> Why not look at how http:extended-common-file-log does it?
'coz it doesn't :-)
E.g. on cutler.cam.lispworks.com using
(setq http:*log-access-log-class* 'http:extended-common-file-log)
(http::clear-access-logs)
(http:add-virtual-host "cutler2.cam.lispworks.com" 8000 nil)
(http:export-url
"http://cutler2.cam.lispworks.com:8000/bar.txt"
:text-file
:pathname "http:http;-release-notes-.text")
it logged
192.168.1.27 - - [2005-02-02 11:05:26] "GET /bar.txt HTTP/1.1"
200 24500 - -
when I accessed http://cutler2.cam.lispworks.com:8000/bar.txt
John> On Jan 12, 2005, at 4:28 AM, Mark Klein wrote:
>>
>>
>> Can someone give me a simple code fragment that shows how to add an
>> item to the the log that is automatically displayed when loading
>> cl-http? I just want to be able to add a log entry that includes the
>> server IP address, a time stamp, and a short string. I'd appreciate
>> the help.
>>
>> Thanks,
>>
>> Mark
>>
>> --
>> Mark Klein
>> Principal Research Scientist
>> Massachusetts Institute of Technology
>> 77 Massachusetts Avenue, NE20-336
>> Cambridge MA 02139 USA
>> m_klein@xxxxxxx
>> http://ccs.mit.edu/klein/
__Martin
_______________________________________________
WWW-CL mailing list
WWW-CL@xxxxxxxxxxxxxxxxxxx
http://lists.csail.mit.edu/mailman/listinfo/www-cl
|