Trying to get a file check macro to pick up this type of format:
slhe_access.2004-09-02.log
From the directory:
E:\logs\slhe\
I have it set in the test to be:
E:\logs\slhe\slhe_access.%yyyy[-1d]%-%mm[-1d]%-%dd[-1d]%.log
(the [-1d] is because the date is always one day behind)
For some reason it is not translating the macro into the day and year. What am I doing wrong??? It keeps telling me the file is not there but I know it is, I am looking at it in the window right now. All of my other date macro type tests work, just not this one.
Any hints?
I just did some more checking into it.. everything works up until the day part of the macro. If I do:
E:\logs\slhe\slhe_access.%yyyy[-1d]%-%mm[-1d]%-02.log
it works fine but as soon as I add in the %dd[-1d]% part the test fails. Today is 03 so it should translate into 02.
Stumped.