I know there's a table called querylog, but the search script as
supplied with Webinator doesn't seem to have a function that inserts
into it.
I did a search on the Thunderstone site and the mailing list
archive, but no luck.
Any examples I might follow?
So, I assume you have seen the description of the fields in the querylog
table as described in the manual. There aren't any examples as such,
but you just do something like:
<sql "insert into querylog values(counter,$REMOTE_HOST,$arg)"></sql>
Just after or before the "<runquery>" call in the "main" function of
the default search script. You could log any other desired information
in the Client and Query fields. You could also do inserts at other points
in the script if you wanted to log different things.