Log4j를 설정하는 방법은 일반적으로 두가지 방법이 있는데, 1) xml 파일 이용방법 2) properties 파일을 이용방법 이 있다. 오늘은 eclipse dynamic web project 환경에서 Log4j properties파일을 추가하는 방법을 알아보자. * 설치파일: http://logging.apache.org/log4j/1.2/download.html Apache log4j 1.2 - Download Apache log4j 1.2 Log4j 2 is nominated for the JAX Innovation Awards! Do you like its performance, garbage-free logging, and easy and flexible configuration? Log4..
1.환경설정 -- JDK1.8 -- Servlet(Tomcat 8.5) * 마우스 오른쪽 클릭 - New - Dynamic Web Project 를 클릭 *Target runtime: 설치해둔 톰캣 8.5 지정 * Browe 클릭 후 apache-tomcat-8.541 선택 * JDK1.8 설치후 JDK 1.8 설치 후 JDK 1.8설정 * 설치된 JDK1.8을 선택한다. * 톰캣과 JDK를 설치하면 FINISH 를 누른다.!! *Java Resources에 보면 설정한 Apache Tomcat 8.5와 JDK 1.8 정보 확인 가능 혹 처음 설정을 못하였다 하더라도 - JDK: 프로젝트명 오르쪽 클릭 - build-path에서 수정 가능 - Tomcat: server 톰캣은 Window - Prefer..
