-
Notifications
You must be signed in to change notification settings - Fork 190
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
When Rails serves assets (in development), many empty "requests" are added to output #153
Comments
Should be relatively easy? Could you paste a snippet of log that includes a bunch of these requests alongside some normal requests that don't return 304? It's intended for the test suite, feel free to anonymize the data |
When you say "normal requests", does that mean requests for dynamic pages, or for static assets? |
Ideally both: the more variation the better. |
Hi, sorry for leaving this so long! This is from my dev logs:
|
Before I say anything: this is an awesome tool! I just discovered it today.
My Rails 3 app serves static assets. Each request for a static asset creates lines like this in the log:
request-log-analyzer catches the "Started" line and adds a Request. But it doesn't recognize the "Served" line. In the output, I get this:
Needless to say, this is less than enlightening.
I'm thinking of adding something to
file_format/rails3.rb
to catch those "Served" lines and get the HTTP code and duration. Perhaps I could also make it set fake controller/action names, so that something more useful would appear in the output.Does that sound like a good idea? Should I send a PR? Since this is your project, I'd like to hear what you would like.
The text was updated successfully, but these errors were encountered: