Hi JmageK,

> My question is how to have picolisp run the ana function whenever a request
> for a file or another html page arrives when it's running as a generic server.

Usually I log only new sessions, by loading @lib/app.l in production
applications. This logs with 'msg' calls at the end of that file, the first one
when the server is started, and then once for each new session.

If you want to log *every* access, you could do that by patching 'http', e.g.
with

   (patch http '(out *HtSock (cond @X))
      (fill
         '(prog
            (ana)
            (out *HtSock (cond @X)) ) ) )

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to