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

Update config guide with logformat var #185

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Update config guide with logformat var #185

merged 1 commit into from
Jul 14, 2020

Conversation

kmakiela
Copy link
Contributor

It seems like when this logging change was introduced the documentation was not updated accordingly

@kmakiela kmakiela requested a review from NelsonVides July 13, 2020 15:45
@@ -112,6 +112,7 @@ Environment variables to configure a production release.

#### General settings:
* `PUSH_LOGLEVEL` - `debug`/`info`/`warn`/`error` - Log level of the application. `info` is the default one
* `PUSH_LOGFORMAT` - `logfmt`/`json` - Log format of the application. Defaults to `logfmt` for `dev` and `test` environments and to `json` for `prod` environment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `PUSH_LOGFORMAT` - `logfmt`/`json` - Log format of the application. Defaults to `logfmt` for `dev` and `test` environments and to `json` for `prod` environment.
* `PUSH_LOGFORMAT` - `logfmt`/`json` - Log format of the application. Defaults to `logfmt` for the `dev` and `test` environments, and to `json` for the `prod` environment.

As we're mentioning specific environments, it needs a definite article. Wouldn't need one if it was an indefinite plural, like "for development environments", and not "for the development environments", but in this case the envs have specific names 🤷‍♂️

@NelsonVides NelsonVides merged commit 6a0d0a6 into master Jul 14, 2020
@NelsonVides NelsonVides deleted the km/docs branch July 14, 2020 09:17
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.

2 participants