Create log file:
touch /var/log/sudo.log
Edit the file /etc/sudoers
visudo
Paste
Defaults logfile="/var/log/sudo.log"
Restart rsyslog
sudo systemctl restart rsyslog
View log
tail -f /var/log/sudo.log
Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please u...