diff src/goodjava/logger/ThreadLocalAppender.java @ 1454:219f2b937f2b

remove log4j
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 08 Mar 2020 14:11:30 -0600
parents 85d7c1777357
children 74c534de211f
line wrap: on
line diff
--- a/src/goodjava/logger/ThreadLocalAppender.java	Mon Mar 02 15:09:10 2020 -0700
+++ b/src/goodjava/logger/ThreadLocalAppender.java	Sun Mar 08 14:11:30 2020 -0600
@@ -2,7 +2,7 @@
 
 
 public final class ThreadLocalAppender implements Appender {
-	private final Appender defaultAppender;
+	public volatile Appender defaultAppender;
 	public final ThreadLocal<Appender> threadLocal = new ThreadLocal<Appender>();
 
 	public ThreadLocalAppender(Appender defaultAppender) {