How to disable console output log(only build failure) when send email in jenkins

Jenkins Version 2.440.

Hello friends,

email will send more console output log when build fail, i need not this information, how could i do to disable/remove this “CONSOLE OUTPUT” part log.

Build failure:

Build success not show console output log

Best Regards!

if build success then not show console output