Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cleaning logs

Cleaning logs

some practice to have better logs in rails

Avatar for Felipe Espinoza

Felipe Espinoza

August 25, 2016
Tweet

More Decks by Felipe Espinoza

Other Decks in Technology

Transcript

  1. • which device is making the request? • which user?

    can I identify him? • which device OS version? • which client version? • which API version they did request? • what endpoint was requested? what was the status code of the result? • what language did the user requested for?
  2. • user_agent • device (Android or iPhone) • app_name •

    requested_api_version • app_install_id (X-App-Install-Identifier that the clients send) • requested_language • used_language • employee_number • user_email • user_id • method=POST path="/oauth/token" status=401 searching for all the POST requests to /outh/token which resulted in a 401 status code