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

Back-end: Make log level configurable and environment dependent #216

Closed
OrAbramovich opened this issue Mar 30, 2018 · 3 comments
Closed
Assignees
Labels

Comments

@OrAbramovich
Copy link
Collaborator

The log level should be environment dependent i.e different for test, production, development and it should be integrated in the server config file so it would be configurable.

@OrAbramovich OrAbramovich added this to the Mid Semester POC milestone Mar 30, 2018
@OrAbramovich OrAbramovich self-assigned this Mar 30, 2018
@OrAbramovich
Copy link
Collaborator Author

Time estimation: 1 hour.

OrAbramovich added a commit that referenced this issue Mar 30, 2018
…nt dependent.

The log level is now configurable via the server-config.json and the logger use that value.

#216

2. Testing: Implemented: Disable logger while running tests

The log level in test mode is now emergency since errors in routes are OK during the tests.

#215
@OrAbramovich
Copy link
Collaborator Author

Actual Time: 0.75 hour.

@OrAbramovich
Copy link
Collaborator Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant