Welcome! Log In Create A New Profile

Advanced

Force Nginx to log error?

Carl Winbäck
June 14, 2020 08:42AM
Hi folks,

Is there any surefire way to force Nginx to log an error?

Perhaps some carefully crafted GET request or similar.

The reason I’m asking is that I’m doing a lab with Nginx’ error
log. Therefore I would like to find a way so that I can force Nginx to
log an error. E.g. if I specify "error_log /srv/nginx/error.log warn;"
then I would like to verify that errors end up in the file that I
specified.


Best regards,
Carl
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Force Nginx to log error?

Carl Winbäck June 14, 2020 08:42AM

Re: Force Nginx to log error?

gariac June 14, 2020 09:54AM

Re: Force Nginx to log error?

Carl Winbäck June 14, 2020 11:36AM

Re: Force Nginx to log error?

Carl Winbäck June 20, 2020 04:08AM

Re: Force Nginx to log error?

gariac June 14, 2020 01:02PM

Re: Force Nginx to log error?

J.R. June 14, 2020 05:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 130
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready