Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I need to store log4j logs in a folder by year. For example:
log4j.appender.File=${log.app.path}/${currentYear}/application.log
But how to set ${currentYear}? Thanks.