Welcome! Log In Create A New Profile

Advanced

Re: Nginx stop logging

Sergey A. Osokin
September 04, 2022 09:52AM
Hi Vincent,

hope you're doing well.

On Sun, Sep 04, 2022 at 01:22:20PM +0200, Vincent M. wrote:
> Hello,
>
> The logs are working fine but once a day, nginx stop loging access and
> then the file log file is empty.
> So every day I have to restart my nginx server in order to get the logs.
> It's on a Rocky Linux 9 with Nginx 1.20.1
> Never seen that before, what should I check?

The official linux packages [1] contain the logrotate(8) configuration
file, so that part of the job can be done automagically.

Also, while I'm here I'd recommend to upgrade installed nginx to
the more recent stable version, 1.22.0.

Please let me know if you have any questions.

Thank you.

References:
1. https://nginx.org/en/linux_packages.html#RHEL-CentOS

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Nginx stop logging

Vincent M. September 04, 2022 07:24AM

Re: Nginx stop logging

Frank Swasey September 04, 2022 08:20AM

Re: Nginx stop logging

Vincent M. September 04, 2022 09:46AM

Re: Nginx stop logging

Frank Swasey September 04, 2022 01:32PM

Re: Nginx stop logging

Sergey A. Osokin September 04, 2022 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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