writing logs to multiple files dynamically using log4j2