0

I am confused, my nginx log does not read the web activity in real time. The log will tell what happens after several time (it is hours ).

Do you know why?

Thanks

Abdul
  • 1
  • 1
  • I never had problem with it. Logs are often gziped, did you uncompress them before read? – Matej Feb 19 '19 at 04:57
  • hi, I have to set up that I forgot. Thanks the comment – Abdul Feb 19 '19 at 09:07
  • Actually I assume that you are running into a buffering issue. The Nginx logging is able to buffer its output to accelerate the HTTP serving. If the buffer is large and there are not many requests, it will need some time to fill the buffer and write it to the log file. For more details post your logging configuration. – Jens Bradler Feb 20 '19 at 08:34

0 Answers0