I am developing a Rails application where I pass certain image data through request (base64). I need to do it that way since I do some processing on the client side. The problem with this approach is that it spams my server log a lot.
Is there a nice way to clamp the parts of request that contain the long base64 strings somehow?
You can use
config.filter_parametersin yourenvironment.rbfile to filter specific parameters from logging. Or use the nuclear option and setconfig.log_levelto a lower value.