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

added request logging with response times #59

Merged
merged 2 commits into from
Oct 3, 2017
Merged

Conversation

trescube
Copy link
Contributor

@trescube trescube commented Oct 3, 2017

No description provided.

package.json Outdated
@@ -33,6 +33,8 @@
"express": "^4.15.2",
"lodash": "^4.17.4",
"lower-case": "^1.1.4",
"morgan": "^1.9.0",
"pelias-logger": "^0.2.0",
Copy link
Member

Choose a reason for hiding this comment

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

use an exact version :) NPM doesn't by default

Copy link
Member

@orangejulius orangejulius left a comment

Choose a reason for hiding this comment

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

Code looks good to me. Unfortunately the way the Travis tests are set up right now, they'll only ever pass on the same day we've pushed data. So either we merge anyway (the tests with the latest data passed on my machine), build new data, or figure out a new way to test.

@trescube trescube merged commit 3f6bd48 into master Oct 3, 2017
@trescube trescube deleted the add-access-logs branch October 3, 2017 15:13
@ghost ghost removed the in review label Oct 3, 2017
Copy link
Member

@missinglink missinglink left a comment

Choose a reason for hiding this comment

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

This code looks fairly generic, could we include this middleware in the pelias/logger repo to avoid duplication?

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