22 Apr
2016
22 Apr
'16
7:58 a.m.
On 22/04/16 06:47, Christian Strauf wrote:
Our (large) unlang policy for request/reply logging looks something like this: Thank you very much for sharing this. It looks quite elegant. Please correct me if I'm wrong, but the only thing you need to modify to use your policy is to put Req-Session into the local dictionary and include the policy subroutines in the appropriate sections of the virtual server, right?
You'd need to define the reqlog and replog modules - we use linelog instances, but you could use appropriate detail, redis, sql or other policy {} blocks. But yes, aside from defining the attributes (Req-Session and others) in the dictionary, that's it.