일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- resource
- 단축키
- find
- tomcat
- bash
- grep
- Source
- maVen
- Windows 10
- 네트워크
- vscode
- GIT
- IntelliJ
- Windows
- xargs
- port
- import
- netsh
- plugin
- Eclipse
- Quartz
- VirtualBox
- profile
- Mac
- web.xml
- context
- 줄바꿈 문자
- JavaScript
- ssh
- lsof
- Today
- Total
develog
logger.error 본문
logger.error(e);
-----------------------------------
[2013-05-29 15:21:44] [ERROR] java.lang.RuntimeException: 에러!
logger.error(e.getMessage());
-----------------------------------
[2013-05-29 15:22:10] [ERROR] 에러!
logger.error(e, e);
-----------------------------------
[2013-05-29 15:22:35] [ERROR] java.lang.RuntimeException: 에러!
java.lang.RuntimeException: 에러!
at test.TestMaint2.cc(TestMaint2.java:51)
at test.TestMaint2.bb(TestMaint2.java:46)
at test.TestMaint2.aa(TestMaint2.java:37)
at test.TestMaint2.main(TestMaint2.java:21)
logger.error(e.getMessage(), e);
-----------------------------------
[2013-05-29 15:22:51] [ERROR] 에러!
java.lang.RuntimeException: 에러!
at test.TestMaint2.cc(TestMaint2.java:51)
at test.TestMaint2.bb(TestMaint2.java:46)
at test.TestMaint2.aa(TestMaint2.java:37)
at test.TestMaint2.main(TestMaint2.java:21)
'Dev > Java' 카테고리의 다른 글
@Autowired 사용시 셋팅 (0) | 2013.05.30 |
---|---|
exception handling (0) | 2013.05.29 |
[Java] log4j, add appender in source code (0) | 2013.05.29 |
정규표현식 #1 (0) | 2013.05.26 |
[java] html tag 제거 (0) | 2013.05.26 |