Mercurial Hosting > luan
comparison src/luan/host/WebHandler.java @ 1336:7483108154bb
minor logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 14 Feb 2019 05:22:22 -0700 |
parents | e0cf0d108a77 |
children | 8b61c8c4e07a |
comparison
equal
deleted
inserted
replaced
1335:e0cf0d108a77 | 1336:7483108154bb |
---|---|
30 | 30 |
31 String logDir = dirStr + "/site/private/local/logs/web"; | 31 String logDir = dirStr + "/site/private/local/logs/web"; |
32 new File(logDir).mkdirs(); | 32 new File(logDir).mkdirs(); |
33 | 33 |
34 Luan luan = new Luan(); | 34 Luan luan = new Luan(); |
35 try { | 35 Log4j.newLoggerRepository(luan); |
36 Log4j.newLoggerRepository(luan); | |
37 } catch(LuanException e) { | |
38 throw new RuntimeException(e); | |
39 } | |
40 initLuan(luan,dirStr,domain,true); | 36 initLuan(luan,dirStr,domain,true); |
41 return new LuanHandler(luan); | 37 return new LuanHandler(luan); |
42 } | 38 } |
43 }; | 39 }; |
44 | 40 |