How can I read the IQ message log using select statement?

Is there something like sa_server_messages fro IQ msg.log ?

Leonid.