Saving information from registration-table into log

Hello,
could somebody help me with script for saving list of information obtained by

/interface wireless registration-table print stats

into system log?
I tried some foreach cycles but without success
Thanks

better do the same through ssh to a file