0

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.

4

1 に答える 1