Mercurial Hosting > luan
comparison src/luan/modules/http/LuanDomainHandler.java @ 1825:4eb0551323b0
remove initThreadLogging from LuanDomainHandler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 21 Aug 2024 19:44:17 -0600 |
parents | 357daf580951 |
children | 09e90d94b7b5 |
comparison
equal
deleted
inserted
replaced
1824:92860f763715 | 1825:4eb0551323b0 |
---|---|
7 import luan.Luan; | 7 import luan.Luan; |
8 import luan.LuanTable; | 8 import luan.LuanTable; |
9 import luan.LuanFunction; | 9 import luan.LuanFunction; |
10 import luan.LuanException; | 10 import luan.LuanException; |
11 import luan.LuanRuntimeException; | 11 import luan.LuanRuntimeException; |
12 import luan.modules.logging.LuanLogger; | 12 // import luan.modules.logging.LuanLogger; |
13 | 13 |
14 | 14 |
15 public class LuanDomainHandler implements Handler, DomainHandler.Factory { | 15 public class LuanDomainHandler implements Handler, DomainHandler.Factory { |
16 private final DomainHandler domainHandler = new DomainHandler(this); | 16 private final DomainHandler domainHandler = new DomainHandler(this); |
17 private final LuanFunction init; | 17 private final LuanFunction init; |
18 | 18 |
19 public LuanDomainHandler(LuanFunction init) throws LuanException { | 19 public LuanDomainHandler(LuanFunction init) throws LuanException { |
20 if(init==null) throw new NullPointerException("init required"); | 20 if(init==null) throw new NullPointerException("init required"); |
21 LuanLogger.initThreadLogging(); | 21 // LuanLogger.initThreadLogging(); |
22 this.init = init; | 22 this.init = init; |
23 } | 23 } |
24 | 24 |
25 @Override public Handler newHandler(String domain) { | 25 @Override public Handler newHandler(String domain) { |
26 Luan luan = newLuan(domain); | 26 Luan luan = newLuan(domain); |