Mercurial Hosting > luan
diff src/luan/host/WebHandler.java @ 1332:11b7e11f9ed5
cleaner logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Feb 2019 21:50:26 -0700 |
parents | f41919741100 |
children | 25746915a241 |
line wrap: on
line diff
--- a/src/luan/host/WebHandler.java Mon Feb 11 02:17:41 2019 -0700 +++ b/src/luan/host/WebHandler.java Tue Feb 12 21:50:26 2019 -0700 @@ -15,7 +15,7 @@ import luan.LuanClosure; import luan.modules.BasicLuan; import luan.modules.http.LuanHandler; -import luan.modules.logging.LuanLogger; +import luan.modules.logging.Log4j; public class WebHandler implements Handler { @@ -41,7 +41,7 @@ LuanState luan = new LuanState(); try { - LuanLogger.newLoggerRepository(luan); + Log4j.newLoggerRepository(luan); } catch(LuanException e) { throw new RuntimeException(e); }