Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Rebol and Apache log

From: lp::legoff::free::fr at: 16-Dec-2004 17:02

Hello, I use rebol 2.5.6.4.2 on a redHat ES 2.1. server with also an Apache 1.3..27 Web server. I would like to log my http request using the Apache CommonLog and FormatLog directive. Classic but ... I have a problem with my Apache Log, because the standard log format is time-based on the "%r" option // like 16/Dec/2004:9:08:13 // and I would have a millisecond precision. (%N option don't work here). I read that it's possible to used a pipe with CustomLog like : CustomLog "|/usr/sbin/cronolog /web/logs/%Y/%m/%d/access.log" So as I use rebol with now/time/precise, does it possible to use something like that ? CustomLog "|/usr/bin/rebol --do expr-with-a-code-here" The goal is just to get a time-mark with a millisec. precision for each http request logged. Is someone have any idea ? == Philippe