在user controller中加入 filter_parameter_logging "password" 如果想完全禁止POST logging,则可以在production.rb中修改:config.log_level = :warn