====== Daily Rolling File Appender Code Gen ====== ===== 개요 ===== 설정한 날짜 또는 조건에 맞춰 로깅을 수행하는 "DailyRollingFileAppender 설정"을 Code Generation 기능을 사용하여 쉽게 작성할 수 있다. ===== 설명 ===== Daily Rolling File Appender Configuration 의 설명은 다음 실행환경 가이드를 참조한다. * [[egovframework:rte:fdl:logging|실행환경 Logging Configuration Guide ]] ===== 사용법 ===== 1. 이클립스 Window > Show View > Other… 를 선택하여 Show View 창을 연다. \\ {{:egovframework:dev4.3:imp:codegen:template:config:codegen_menu.png?500|}} \\ 2. eGovFrame > eGovFrame Templates 를 선택한다. \\ {{:egovframework:dev4:codegen:codegen_egovframe_template_menu.png?300|}} \\ 3. 작성하고자 하는 Configuration의 템플릿을 선택한다. \\ - eGovFrame Templates > Logging > New Time-Based Rolling File Appender 선택 \\ {{:egovframework:dev4.3:imp:codegen:template:config:codegen_egovframe_templates_configurations.png?400|New DataSource 선택}} \\ 4. 화면 UI 를 통해 필요한 항목을 입력한 뒤 최종적으로 Finish 버튼을 클릭한다. \\ **XML 방식**, **YAML 방식** 또는 **Properties 방식** 모두를 지원한다. \\ {{:egovframework:dev4.3:imp:codegen:template:config:logging:time_based_rolling_file_appender.png?600|상세 정보 입력}} \\ 5. 생성된 Configuration 파일을 확인한다. \\ * **XML 방식** \\ {{:egovframework:dev4.3:imp:codegen:template:config:logging:time_based_rolling_file_appender_result_xml.png?1000|생성된 Configuration 파일 확인}} \\ * **YAML 방식** \\ {{:egovframework:dev4.3:imp:codegen:template:config:logging:time_based_rolling_file_appender_result_yaml.png?1000|생성된 Configuration 파일 확인}} \\ * **properties 방식** \\ {{:egovframework:dev4.3:imp:codegen:template:config:logging:time_based_rolling_file_appender_result_properties.png?1000|생성된 Configuration 파일 확인}} \\