| Revision | 78 (tree) |
|---|---|
| Time | 2015-08-21 01:25:32 |
| Author | t_nakayama1971 |
(empty log message)
| @@ -18,6 +18,8 @@ | ||
| 18 | 18 | import javax.servlet.http.HttpSession; |
| 19 | 19 | import javax.servlet.http.HttpSessionBindingEvent; |
| 20 | 20 | |
| 21 | +import org.apache.logging.log4j.LogManager; | |
| 22 | + | |
| 21 | 23 | import online.filter.helper.ActionSessionList; |
| 22 | 24 | import online.filter.helper.ActionSessionMap; |
| 23 | 25 | import online.listener.SessionMutexListener; |
| @@ -198,6 +200,7 @@ | ||
| 198 | 200 | Thread.sleep(this.millis); |
| 199 | 201 | } catch (final InterruptedException ex) { |
| 200 | 202 | Thread.interrupted(); |
| 203 | + LogManager.getLogger().info(ex.getMessage()); | |
| 201 | 204 | break; |
| 202 | 205 | } |
| 203 | 206 | } |
| @@ -13,6 +13,8 @@ | ||
| 13 | 13 | import javax.servlet.http.HttpServletRequest; |
| 14 | 14 | import javax.servlet.http.HttpServletResponse; |
| 15 | 15 | |
| 16 | +import org.apache.logging.log4j.LogManager; | |
| 17 | + | |
| 16 | 18 | /** |
| 17 | 19 | * レスポンス複製クラス |
| 18 | 20 | * |
| @@ -212,6 +214,7 @@ | ||
| 212 | 214 | try { |
| 213 | 215 | return new String(this.bytes, 0, this.count, this.charset); |
| 214 | 216 | } catch (final UnsupportedEncodingException e) { |
| 217 | + LogManager.getLogger().info(e.getMessage()); | |
| 215 | 218 | return ""; |
| 216 | 219 | } |
| 217 | 220 | } |
| @@ -13,6 +13,8 @@ | ||
| 13 | 13 | import javax.servlet.http.HttpServletResponse; |
| 14 | 14 | import javax.servlet.http.HttpSession; |
| 15 | 15 | |
| 16 | +import org.apache.logging.log4j.LogManager; | |
| 17 | + | |
| 16 | 18 | import online.filter.helper.ActionSessionMap; |
| 17 | 19 | import online.listener.SessionMutexListener; |
| 18 | 20 | import core.util.NumberUtil; |
| @@ -123,6 +125,7 @@ | ||
| 123 | 125 | Thread.sleep(this.millis); |
| 124 | 126 | } catch (final InterruptedException ex) { |
| 125 | 127 | Thread.interrupted(); |
| 128 | + LogManager.getLogger().info(ex.getMessage()); | |
| 126 | 129 | break; |
| 127 | 130 | } |
| 128 | 131 | } |
| @@ -249,7 +249,7 @@ | ||
| 249 | 249 | return URLEncoder.encode( |
| 250 | 250 | MojiUtil.correctGarbled(str, Charset.forName(enc)), enc).replace("+", "%20"); |
| 251 | 251 | } catch (final UnsupportedEncodingException ex) { |
| 252 | - throw new IllegalArgumentException(enc); | |
| 252 | + throw new IllegalArgumentException(enc, ex); | |
| 253 | 253 | } |
| 254 | 254 | } |
| 255 | 255 |
| @@ -10,6 +10,8 @@ | ||
| 10 | 10 | import javax.servlet.jsp.PageContext; |
| 11 | 11 | import javax.servlet.jsp.tagext.TagSupport; |
| 12 | 12 | |
| 13 | +import org.apache.logging.log4j.LogManager; | |
| 14 | + | |
| 13 | 15 | import online.view.ViewUtil; |
| 14 | 16 | import online.view.model.ViewMap; |
| 15 | 17 | import core.config.Factory; |
| @@ -87,6 +89,7 @@ | ||
| 87 | 89 | } |
| 88 | 90 | return true; |
| 89 | 91 | } catch (final IOException ex) { |
| 92 | + LogManager.getLogger().info(ex.getMessage()); | |
| 90 | 93 | return false; |
| 91 | 94 | } |
| 92 | 95 | } |