-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
Parameters for log_format #678
Comments
Just add
|
When I used the format provided, it created following on the conf file.
And it fails the config check. log_format should not be repeated, it seems. :(
|
@goldsap25, I use 2 formats and it seems to be ok. Try to remove format |
I'm going to close this one; @goldsap25, please reopen or file a new issue if you're still experiencing problems. |
I know this is closed, but I just wanted to add that I solved this with crazy inline escaping in hiera. Wondering if there's a better way to handle this?
|
I need to set the log_format values but not sure how to do this. I was not able to find documentation regarding this.
By default, it's setting $log_format: {}
I need it to be set such that it looks like below. (skipping other values within http)
http{
log_format main 'some string with some var like $remote_addr'
'another string'
'one more string'
}
If this is the wrong place to post question, please let me know where I may post this question.
Thanks!
The text was updated successfully, but these errors were encountered: