OK I figured out it's simple enough to just to prepend the date in the
desired format to the file name.
The conf file is just javascript that's being excuted so I put this
in:
var dateFormat = require('./date.format.js');
var now = new Date();
var pre = now.format("yyyy_mm_dd");
and prepended that to the file name string:
log_file_paths: {
jetty: '/opt/jetty/logs/'+pre+'.stderrout.log'
},
But the problem with approach is that the conf file is loaded during
startup and it will watch the correct file but once the date changes
and the lof file rolls over it will continue watching the old file and
not refresh.
I have yet to figure out how to get it to watch for rolling log files.
-Deni