How can we get Logging in SystemMessage ???

My concerns is that whenever user try to login, one of the Message of the
CustomizedSystemMessages will be thrown. In the logs, there is no exception logged.

We are unable to find the actual scenario for which these exception may come.

If there any logging mecanism available in CustomizedSystemMessages or SystemMessages. So that
we can get idea about the Cause of the Problem.