id author title date pages extension mime words sentences flesch summary cache txt www-reddit-com-4433 logging URI query params with lograge : ruby .html text/html 273 50 81 logging URI query params with lograge : ruby Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts Search within r/rubyr/ruby logging URI query params with lograge logging URI query params with lograge View all comments controller.request.send(:filtered_query_string) This is a private method, but using it will ensure that you don't log sensitive values in query params, such as token, if your app uses them. Edit: you could also use path: controller.request.filtered_path, which includes the filtered query string. Although i don't think I have anything confidential in my own query string. Is there a filtered version of params? Looks like request.filtered_parameters? (edit, while filtered_query_string isn't public, filtered_path and filtered_parameters are!) I wonder if a PR should be made to lograge README using filtered_parameters... View Entire Discussion (6 Comments) More posts from the ruby community Continue browsing in r/ruby r/ruby Welcome to ruby ./cache/www-reddit-com-4433.html ./txt/www-reddit-com-4433.txt