Log4J2 – assigning file appender filename at runtime
h/t rgoers The FileAppender doesn’t support two dollar signs on the file name as the file is opened when the appender is started. What you are indicating with two dollar signs is that you want – potentially – a different file name for each event. With a single $ (as in ${sys:logFilename}), the system will … Read more