You can configure below , with below the idle time becomes 100 seconds, increase the values as per your requirement.
set system services ssh client-alive-count-max 10
set system services ssh client-alive-interval 10
Regarding logs, you can config below
set system syslog file System-login authorization any