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

Add parameter to allow setting error_log severity level #709

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

Phil-Friderici
Copy link
Contributor

This patch allows to set the severity level for error_log.
If not set it will use the default severity level of 'error'.
$nginx_error_log_severity is validated to only allow valid values.

@Phil-Friderici
Copy link
Contributor Author

If you don't like that this patch will add the severity level to nginx.conf, I can modify it to only add it if severity level is set by the user intentionally. Personally I think setting default values in configurations files enhance readability.

@ghoneycutt
Copy link
Member

Hi @jfryman

We have a dependency on this as we transition to using your awesome module. Could you please take a look at this PR?

@jfryman
Copy link
Contributor

jfryman commented Nov 2, 2015

LGTM. Thanks for the code!

jfryman added a commit that referenced this pull request Nov 2, 2015
Add parameter to allow setting error_log severity level
@jfryman jfryman merged commit 98e2844 into voxpupuli:master Nov 2, 2015
@ghoneycutt
Copy link
Member

Thank you James and Phil!

slm0n87 pushed a commit to slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
Add parameter to allow setting error_log severity level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants