Welcome! Log In Create A New Profile

Advanced

Re: how to separate robot access log and human access log

May 05, 2015 08:20AM
thanks for your reply.

I know that I can use if to enable conditional logging.
But what I want to do is

if $spiderbot=0, then log to location_access.log
if $spiderbot=1, then log to spider_access.log.

And I don't want the same logs write to different files.
How can I do that?

thanks
Subject Author Posted

how to separate robot access log and human access log

meteor8488 April 27, 2015 07:45PM

Re: how to separate robot access log and human access log

Francis Daly April 30, 2015 01:46PM

Re: how to separate robot access log and human access log

meteor8488 May 05, 2015 08:20AM

Re: how to separate robot access log and human access log

Francis Daly May 05, 2015 01:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready