This can be placed on an scheduler and logs your traffic like every hour or so.
{
:set $tx ([/interface get ether1 tx-byte]/1048576)
:set $rx ([/interface get ether1 rx-byte]/1048576)
:log debug "Traffic log,TX,$tx,RX,$rx;"
}
{
:log debug "Traffic log,==============reboot============"
}