GitHub user paladox added a comment to the discussion: Help with migrating from log4j to log4j2 (we also use a slf4j -> log4j)
@ppkarwasz how would I move this to using the logger instead of appender? And how would I get it to still use AsyncAppender rather how can I rewrite this? I have another use case that does things dynamically: https://gist.github.com/paladox/2a8cc90bfff35639f2319a4101db2e27 (original code: https://github.com/GerritCodeReview/gerrit/blob/master/java/com/google/gerrit/server/util/PluginLogFile.java) GitHub link: https://github.com/apache/logging-log4j2/discussions/3914#discussioncomment-14340985 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
