Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: how to separate robot access log and human access log
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
meteor8488
May 05, 2015 08:20AM
Registered: 11 years ago
Posts: 28
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
Reply
Quote
RSS
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: 128
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024