How can i dump failed logins to server logfile

Submitted by shaupt on 2013-08-26

i want to monitor failed logins via script. But i can't find some logging information about failed logins on the defaul.log file. Only at the database table log_events the access errors will be logged.
Is there a way to dump this failed logins to the server logfile ?