Is there a way to edit the log entry made by topic “fetch?”
I have multiple scheduled scripts that use the “fetch” command such as:
/tool fetch upload=yes mode=ftp ascii=no src-path="/$[$identitydate].rsc" dst-path="/mikrotik-backups/$[$identitydate].rsc" address=192.168.2.22 port=21 user=aaaaa password=xxxxx
and
/tool fetch upload=yes mode=ftp ascii=no address=192.168.2.22 port=21 user=ddddd password=vvvvv\
src-path=tmpresults.txt dst-path="/mikrotik-backups/$identitydate-dynamicdata.txt"
And the log entries made automatically are:
02:58:32 fetch,info Upload to 192.168.2.22 FINISHED
07:41:16 fetch,info Upload to 192.168.2.22 FINISHED
I would like the log entries to include some identifying reference, perhaps to the name of the script that called them or the filename fetched, etc.
I know I can add a log command to the script to create another log entry with the info I want, and then possibly exclude (!) fetch in the info logging, but I was hoping for a teeny bit more elegant.
Possible?