I would like to be able to log the information sent to my xterm from
another user using the write/banner cmd.

For example if mesg is on and I receive a message from a user I would
also like that message to be saved to a file.

Is this possible or would i have to log all the output to my xterm?