반응형

log4j2.xml 에서 로그파일 저장, 년도/월별 폴더 생성 후 그 아래에 로그파일 일자시간별 생성 저장.

    <Appenders>
        <Console name="console" target="SYSTEM_OUT">
            <PatternLayout pattern="%d %5p [%c] %m%n" />
        </Console>
        <RollingFile name="file" fileName="./logs/file/all.log" 
                   filePattern="./logs/file/$${date:yyyy}/$${date:MM}/all_%d{yyyyMMddHH}.log">
                <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
                <Policies>
                        <TimeBasedTriggeringPolicy /><!-- Rotated everyday -->
                </Policies>
        </RollingFile>
    </Appenders>

 

<Loggers> 에서 <AppenderRef ref="file" > 이어야 파일로 저장. 

    <Loggers> 
       
        <Logger name="java.sql" level="off" additivity="false">
            <AppenderRef ref="console" />
        </Logger>
        <Logger name="egovframework" level="ERROR" additivity="false">
            <AppenderRef ref="console" />
            <AppenderRef ref="file"/> 
        </Logger>
        <Logger name="org.springframework" level="DEBUG" additivity="false">
            <AppenderRef ref="console" /> 
            <AppenderRef ref="file"/> 
        </Logger>


        <Logger name="jdbc.sqltiming" level="off" additivity="false">

            <AppenderRef ref="console" />
        </Logger>
        <Logger name="jdbc.resultsettable" level="off" additivity="false">
            <AppenderRef ref="console"/>
        </Logger>
        <Logger name="jdbc.sqlonly" level="info" additivity="false"> <!-- info / ERROR / DEBUG / off -->
            <AppenderRef ref="console"/>
        </Logger>

        <Root level="ERROR">
            <AppenderRef ref="console" />
        </Root>
    </Loggers>

 

반응형
반응형

egovframe 또 다 지워져서 재설치. 왜 지워질까? 맥북프로 이클립스 

https://download.springsource.com/release/TOOLS/update/e4.4/

Eclipse MARS.2
- install New Software 로 쭉 설치
- SpringCore : https://download.springsource.com/release/tools/update/e4.4/Core/ Spring IDE -> Spring IDE Core

Spring Core_e4.4 - https://download.springsource.com/release/TOOLS/update/e4.4/

- UML2 Extension 5.1.2 : http://download.eclipse.org/releases/mars/ Modeling > UML2 Extender SDK

- Subversive SVN Connector 6.0.1 : http://download.eclipse.org/releases/mars/ Collaboration -> Subversive SVN Team Provider(3.0.4)
http://community.polarion.com/projects/subversive/download/eclipse/5.0/mars-site/
Subversive SVN Connectors -> Subversive SVN Connectors(5.0.3) 설치
SVNKit 1.8.12 Implementation(5.0.3) 설치

- eGovFrame3.6.0 : http://maven.egovframe.kr:8080/update_3.6/ 전부 설치

 

http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev3.8:gettingstarted

 

egovframework:dev3.8:gettingstarted [eGovFrame]

본 가이드는 전자정부 표준프레임워크 기반의 단순한 응용프로그램(HelloWorld)를 직접 실습해 봄으로써 빠른 시간 내에 전자정부 프레임워크의 기본 기능을 파악하기 위하여 제공한다. 본 가이드의 사용자는 java 및 spring framework에 대한 기본적인 지식이 있다는 것을 가정하였다. 아래의 3가지 단계에 따라 순서대로 따라하기 방식으로 진행된다. 개발환경 설치 : 실습을 위한 개발환경을 구축한다. 프로젝트 생성 : 제공한 샘플 프로젝트를 이용

www.egovframe.go.kr

 

반응형
반응형

 

In Eclipse from your project:

  1. Right-click on your project
  2. Click Properties
  3. Java build path: Libraries; Remove the "JRE System Library[J2SE 1.4]"
  4. Click Add Library -> JRE System Library
  5. Select the new "Execution Environment" or Workspace default JRE

https://stackoverflow.com/questions/3138384/warning-build-path-specifies-execution-environment-j2se-1-4

 

Warning - Build path specifies execution environment J2SE-1.4

I create a Maven project in Eclipse Helios. It works fine for a day, but then this warning shows up: Build path specifies execution environment J2SE-1.4. There are no JREs installed in the works...

stackoverflow.com

 

이클립스에 기존 프로젝트를 import 한 후, 아래와 같은 warning 이 발생하는 경우

Build path specifies execution environment JavaSE-1.6. warning. There are no JREs installed in the workspace that are strictly compatible with this environment.

아래와 같이 조치하시면 warning 이 제거됩니다.


* 프로젝트 Properties 메뉴를 클릭한다.

* Java Build Path 를 클릭한 후, Libraries tab 을 클릭한다.

* "JRE System Library" 를 제거한다.

* "Add Library..." 버튼을 클릭한 후, "JRE System Library" 를 선택하고 "Next" 버튼을 클릭한다.

 

 

반응형
반응형
전자정부 프레임워크 다운받으려는데, 회원가입 필요해.

파이어폭스에서 실명인증도 안되는데, 표준 프레임워크인가? 내가 잘못인가?

http://www.egovframe.go.kr/
www.egovframe.go.kr
반응형

+ Recent posts