You could perhaps use the
-iw option. It check for new files matching a given
pattern at a given interval. When one is found start following it.
multitail -iw /tmp/mapserv.log 2
Would look for the file
/tmp/mapserv.log every 2 seconds. If and when it
appears follow it.
It is meant to take a wildcard as in
-iw "/tmp/map*" 2
# Quotes needed to prevent the shell to expand the pattern.
but works for non-wildcard as well. The number is how often to check for new
files matching the pattern.
touch could perhaps work. Might require something like
su user -c 'touch ...' or a
chown etc after touch.
If MapServer deletes existing
mapserv.log on first logging and not truncate
or append you would perhaps also need the
-f option, as in:
Follow the following filename, not the descriptor.