Welcome! Log In Create A New Profile

Advanced

How write at access log only part of $request?

March 02, 2015 05:32AM
Hi All,

I have next question:
is it possible at nginx access log file decrease stored $request to smaller size?

We have very big traffic, and $request part is significant for us only at some start substring of $request value.

Is it possible write at log for example some kind of SubString( $request, 0, someLengthFromStart ) instead of full $request length ?


Thanks
Subject Author Posted

How write at access log only part of $request?

ertyi March 02, 2015 05:32AM

Re: How write at access log only part of $request?

Maxim Dounin March 02, 2015 07:54AM

Re: How write at access log only part of $request?

ertyi March 02, 2015 08:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready