Logging of mirror requests
Joe Doe
jfjm2002 at gmail.com
Wed May 9 05:06:58 UTC 2018
Thank you very much! That did the trick.
On Tue, May 8, 2018 at 12:15 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Mon, May 07, 2018 at 07:59:10PM -0700, Joe Doe wrote:
>
> > I have used ngx_http_mirror_module to create mirrors. I would like to log
> > these requests as well? So in the /mirror location, I added access_log
> > directive, but the log file was created, but no logs were produced.
> >
> > Is logging currently limited to only the original request?
>
> By default, subrequests are not logged. If you want them to be
> logged, consider the "log_subrequest" directive
> (http://nginx.org/r/log_subrequest).
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180508/9801bcfd/attachment.html>
More information about the nginx
mailing list