| <?xml version="1.0" encoding="UTF-8"?> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <Configuration status="WARN"> |
| <Properties> |
| <Property name="PID">????</Property> |
| <Property name="LOG_EXCEPTION_CONVERSION_WORD">%xwEx</Property> |
| <Property name="LOG_LEVEL_PATTERN">%5p</Property> |
| <Property name="CONSOLE_LOG_PATTERN">%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{${LOG_LEVEL_PATTERN}} %clr{${sys:PID}}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}[%L]}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}</Property> |
| <Property name="FILE_LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN} ${sys:PID} --- [%t] %-40.40c{1.}[%L] : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}</Property> |
| </Properties> |
| <Appenders> |
| <Console name="Console" target="SYSTEM_OUT" follow="true"> |
| <PatternLayout pattern="${sys:CONSOLE_LOG_PATTERN}" /> |
| </Console> |
| <RollingFile name="File" fileName="${sys:LOG_FILE}" |
| filePattern="logs/$${date:yyyy-MM}/application-%d{yyyy-MM-dd-HH}-%i.log.gz"> |
| <PatternLayout> |
| <Pattern>${sys:FILE_LOG_PATTERN}</Pattern> |
| </PatternLayout> |
| <Policies> |
| <SizeBasedTriggeringPolicy size="10 MB" /> |
| </Policies> |
| <DefaultRollOverStrategy max = "10"/> |
| </RollingFile> |
| </Appenders> |
| <Loggers> |
| <Logger name="org.apache.catalina.startup.DigesterFactory" level="error" /> |
| <Logger name="org.apache.catalina.util.LifecycleBase" level="error" /> |
| <Logger name="org.apache.coyote.http11.Http11NioProtocol" level="warn" /> |
| <logger name="org.apache.sshd.common.util.SecurityUtils" level="warn"/> |
| <Logger name="org.apache.tomcat.util.net.NioSelectorPool" level="warn" /> |
| <Logger name="org.crsh.plugin" level="warn" /> |
| <logger name="org.crsh.ssh" level="warn"/> |
| <Logger name="org.eclipse.jetty.util.component.AbstractLifeCycle" level="error" /> |
| <Logger name="org.hibernate.validator.internal.util.Version" level="warn" /> |
| <logger name="org.springframework.boot.actuate.autoconfigure.CrshAutoConfiguration" level="warn"/> |
| <logger name="org.springframework.boot.actuate.endpoint.jmx" level="warn"/> |
| <logger name="org.thymeleaf" level="warn"/> |
| <Root level="info"> |
| <AppenderRef ref="Console" /> |
| <AppenderRef ref="File" /> |
| </Root> |
| </Loggers> |
| </Configuration> |