I found these two scripts to work nicely.
I first tried the ones listed above, the one to remove userman logs and place a export of the file in the root directory called log.txt worked. but the cut and pastes for removing user sessions did not. I dug through the script that I cut and pasted from this forum and found some errors with missing spaces etc. So this is what I have and what is working for me.
Create 2 script's in Winbox
1. Called "Clear_Userman_Logs_Send_to_Log_txt"
And use this code
:local Flag
:set Flag [/tool user-manager log find]
:if ([:len $Flag] > 0) do={/tool user-manager log print append file log;/tool user-manager log remove [/tool user-manager log find];}
2. Called "Clear_Userman_Sessions_Send_to_Session_txt"
:local Flag
:set Flag [/tool user-manager session find]
:if ([:len $Flag] > 0) do={/tool user-manager session print append file session;/tool user-manager session remove [/tool user-manager session find];}
Then schedule each script to however much you want.
Remember that you should download and then delete the two files that it creates on your routers file system called log.txt and session.txt and retain those on your PC or wherever if you want a record.
If you don't want the scripts to first output a copy of what it deletes to log.txt and session.txt on your routers file system then in the code, for both scripts remove the wording " append file session" so that you have something that looks like this
Create 2 script's in Winbox
1. Called "Clear_Userman_Logs"
And use this code
:local Flag
:set Flag [/tool user-manager log find]
:if ([:len $Flag] > 0) do={/tool user-manager log print;/tool user-manager log remove [/tool user-manager log find];}
2. Called "Clear_Userman_Sessions"
:local Flag
:set Flag [/tool user-manager session find]
:if ([:len $Flag] > 0) do={/tool user-manager session print;/tool user-manager session remove [/tool user-manager session find];}
With a litte bit more scripting, you could make it, instead of store the file on your routers file system, email the file to you, then delete the stored file, so it does not take up space and you don't have to worry about downloading it. Eventually I will figure that out.