tis 2010-11-30 klockan 03:25 +1300 skrev Amos Jeffries: > So could you explain those condition please? It's not clear from the > code that they did anything beyond logging at the end of header parsing. > Or do you mean that by being done there they logged multiple lines per > request?
Checking.. was some years since I looked at this while doing the log_format stuff. Both only logs if the corresponding header is in the request. And yes, this can be simulated by using an acl for the condition. useragent_log translates to acl has_useragent useragent . log_format useragentlog .... access_log /path/to/file useragentlog has_useragent and similar for referer_log using referer instead of useragent. Regards Henrik
