Welcome! Log In Create A New Profile

Advanced

Re: download logging not captured in access.log

Maxim Dounin
October 14, 2018 01:12AM
Hello!

On Thu, Oct 11, 2018 at 10:47:56AM -0400, wld75 wrote:

> I have a server running for client to download and upload files, however i
> am only able to see the upload request logs and download requests not
> captured in the access.log file.

In nginx, two things should be kept in mind when looking into
access logs:

1. Requests are logged into access log once the request is
complete. This may take a while in some cases.

2. Logging details can be configured in nginx.conf, and may vary
widely from a configuration to configuration. In particular,
logging can be disabled for particular servers or locations, or
logging can be configured to use different log files for different
requests.

If you don't see download requests being logged, most likely the
problem is that nginx was configured to avoid logging of such
requests, or you are looking into the wrong log file.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

download logging not captured in access.log

wld75 October 11, 2018 10:47AM

Re: download logging not captured in access.log

Maxim Dounin October 14, 2018 01:12AM

Re: download logging not captured in access.log

wld75 October 18, 2018 08:12AM

Re: download logging not captured in access.log

Maxim Dounin October 18, 2018 09:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
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