SyntaxFix
Write A Post
Hire A Developer
Questions
You can set FileAppender dynamically
SimpleLayout layout = new SimpleLayout(); FileAppender appender = new FileAppender(layout,"logname."+new Date().toLocaleString(),false); logger.addAppender(appender);