Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackCodeReview/status/714768623248736256
added log entry examples
Source Link

Here is a line from the Heroku from their docs:

2010-09-16T15:13:46.723498+00:00 heroku[router]: at=info method=GET path="/posts" host=myapp.herokuapp.com" fwd="204.204.204.204" dyno=web.1 connect=1ms service=18ms status=200 bytes=975

And an endpoint is a line that looks like this:

GET /api/users/{user_id}/count_pending_messages

Here is a line from the Heroku from their docs:

2010-09-16T15:13:46.723498+00:00 heroku[router]: at=info method=GET path="/posts" host=myapp.herokuapp.com" fwd="204.204.204.204" dyno=web.1 connect=1ms service=18ms status=200 bytes=975

And an endpoint is a line that looks like this:

GET /api/users/{user_id}/count_pending_messages

edited tags
Link
200_success
  • 144.2k
  • 22
  • 188
  • 473
added details
Source Link

I wrote this together for a test I'm doing that parses the Heroku access log. What I'm mainly interested is if this code follow common best practices and if there are any improvements I can make in terms of memory efficiency.

I wrote this together for a test I'm doing. What I'm mainly interested is if this code follow common best practices and if there are any improvements I can make in terms of memory efficiency.

I wrote this together for a test I'm doing that parses the Heroku access log. What I'm mainly interested is if this code follow common best practices and if there are any improvements I can make in terms of memory efficiency.

Source Link
Loading