Re: Logging the click data

Vivek Pal <[email protected]> Fri, 9 Jun 2017 21:49:37 +0530
Newsgroups gmane.comp.search.xapian.devel
Message-ID <CAGxcUfwz-dEs0V4b14BBb34+jZpRyC0DU-r3Ri6c0nk+YhtfQQ@mail.gmail.com>
> The log command will be executed wherever it is in the template.
> By "current system user", what do you mean? There'll need to be
> write permission for the CGI process, which is probably the same
> identity as the web server process.

I basically changed the ownership of the /var/log/omega directory to
the current user using:

sudo chown `whoami` /var/log/omega

But I forgot to grant write permission to that directory. After
granting the required permission it works fine. By current system
user, I meant the `whoami`.

> Why does it matter? You can dedupe in post-processing, which is
> probably easier than detecting a genuinely new search.

You are right; deduplicating in post-processing seems better option.

Thanks,
Vivek