This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* RollingFileAppender with Lazy Initialization on GraalVM native image. | |
*/ | |
public class LazyInitRollingFileAppender<E> extends ch.qos.logback.core.rolling.RollingFileAppender<E> { | |
private boolean started = false; | |
@Override | |
public void start() { | |
if (!inGraalImageBuildtimeCode()) { | |
super.start(); |