Joshua Carter The issue in your specific case is that ai.stainless.micronaut.jupyter.kernel.StandardStreamHandler is redirecting System.out.println statements to calls to ConsoleAppender while some other code is writing also the same ConsoleAppender. However, the lock on the console is held by the other thread. The solution in your specific case, that is in case the output to the console is redirected to logging which in turn is written to the console using ConsoleAppender, is not to use ConsoleAppender. |