Logging / Security

I am wondering if there is a way for Openfire to log failed logins to a test file or system log? I am trying specifically to monitor two situations:

Invalid logins to the admin console

Invalid logins to the operfire server

So far, I cannot find a way to log to a file, or a built in option in the admin server.

Can anyone help?

Th anks,

John