Remember that no one is infallible. I often make mistakes too, especially with RouterOS that changes things with each version…
For example… this do NOT work on 7.17+ but work on 7.16.2 and less (also on v6)… (first log is the directory, the second log is the prefix for create the file log.0.txt)
/sys log action set [find] disk-file-name="/log/log"