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

Refactor for Request Logging middleware #21

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

zeisler
Copy link
Contributor

@zeisler zeisler commented May 26, 2016

No description provided.

@zeisler zeisler force-pushed the refactor_for_logging branch 2 times, most recently from 5636d15 to b51b7c3 Compare May 26, 2016 17:47
@zeisler zeisler changed the title Refactor for Logging Refactor for Request Logging middleware May 31, 2016
@zeisler zeisler force-pushed the refactor_for_logging branch from e43a86f to b709790 Compare May 31, 2016 22:16
use_middleware Rack::PostBodyContentTypeParser
use_middleware Rack::CommonLogger, logger
use_middleware Rory::RequestParameterLogger, logger, :filters => parameters_to_filter
def initializer_default_middleware
Copy link
Member

Choose a reason for hiding this comment

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

initialize_default_middleware, I assume

@zeisler zeisler force-pushed the refactor_for_logging branch 6 times, most recently from 8922773 to 77c7236 Compare June 10, 2016 20:56
@zeisler zeisler force-pushed the refactor_for_logging branch from 77c7236 to b9c1ae2 Compare June 10, 2016 21:44
@zeisler
Copy link
Contributor Author

zeisler commented Jun 13, 2016

Hey @ravigadad I know this is a big one. Here is what it includes.

  • Controller Logging
  • Rory.env
  • Rory::Application#warmup to run initializers before first request
  • MiddlewareStack/Initializers#insert{after, before}.or_add

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