Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make NGINX error log visible in NGINX container logs #319

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

pleshakov
Copy link
Contributor

Proposed changes

Error log will help us understand when and how NGINX gets reloaded and also see any error messages.
The Debug level is useful while the project is still in the early stage of development.

Example of new logs:

2022/12/01 18:06:17 [notice] 37#37: signal 1 (SIGHUP) received from 21, reconfiguring
2022/12/01 18:06:17 [notice] 37#37: reconfiguring
2022/12/01 18:06:17 [notice] 37#37: using the "epoll" event method
2022/12/01 18:06:17 [notice] 37#37: start worker processes
2022/12/01 18:06:17 [notice] 37#37: start worker process 87
2022/12/01 18:06:17 [notice] 86#86: gracefully shutting down
2022/12/01 18:06:17 [notice] 86#86: exiting
2022/12/01 18:06:17 [notice] 86#86: exit
2022/12/01 18:06:17 [notice] 37#37: signal 17 (SIGCHLD) received from 86
2022/12/01 18:06:17 [notice] 37#37: worker process 86 exited with code 0
2022/12/01 18:06:17 [notice] 37#37: signal 29 (SIGIO) received

Error log will help us understand when and how NGINX gets reloaded
and also see any error messages.
The Debug level is useful while the project is still in the early stage
of development.
@pleshakov pleshakov requested a review from a team as a code owner December 1, 2022 20:05
@github-actions github-actions bot added the enhancement New feature or request label Dec 1, 2022
@pleshakov pleshakov merged commit ccb16eb into main Dec 2, 2022
@pleshakov pleshakov deleted the feat/configure-error-log branch December 2, 2022 17:25
@pleshakov pleshakov restored the feat/configure-error-log branch December 7, 2022 17:17
@pleshakov pleshakov deleted the feat/configure-error-log branch December 7, 2022 17:18
@pleshakov pleshakov changed the title Configure NGINX error log Make NGINX error log visible in NGINX container logs Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants