Right now the gem is basically logging the complete payload:
def start_processing(event)
info do
payload = event.payload
"Processing by #{payload[:controller]}##{payload[:action]}\n" \
" Update: #{payload[:update].to_json}"
end
end
I think that especially in production settings it would be a good practice to at least obfuscate the text parts. As a default or via configuration.
For now I've monkey patched this in my app, but I think this would be a good thing to implement on the gem level? I'd be happy to help implement this.
Right now the gem is basically logging the complete payload:
I think that especially in production settings it would be a good practice to at least obfuscate the text parts. As a default or via configuration.
For now I've monkey patched this in my app, but I think this would be a good thing to implement on the gem level? I'd be happy to help implement this.