I have my log files rolling and appending with the correct date format.
foo.log.2014-10-02
foo.log.2014-10-03
but I was wondering if I could create a situation where my most current log always had a consistent name. For example
foo.log
foo.log.2014-10-02
foo.log.2014-10-03
Here foo.log would represent the log for 10-04
or
foo.log
foo.log.2014-10-02
foo.log.2014-10-03
foo.log.2014-10-04
Here foo.log would represent the log for 10-05