Created
August 13, 2018 15:08
-
-
Save jimytc/129993f3b4929791489648e0855b529f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure HttpLog to capture the detail we want to know. | |
HttpLog.configure do |config| | |
# Enable or disable all logging | |
config.enabled = true | |
# You can assign a different logger | |
config.logger = Logger.new($stdout) | |
# I really wouldn't change this... | |
config.severity = Logger::Severity::DEBUG | |
# Tweak which parts of the HTTP cycle to log... | |
config.log_connect = true | |
config.log_request = true | |
config.log_headers = true | |
config.log_data = true | |
config.log_response = false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment