Read a log with yesterdays date in the filename


#1 James

I'm successfully using this config format with im_file to read logs with todays date in the filename:

'\\server.domain\Logs\IN' + strftime(now(), "%y%m%d") + '.log'

One of our services writes its log for the previous day at 3am on the next day. The filename has yesterdays date. What's the easiest/neatest/most efficient way of reading this log please?