nchdoos.JColorful.1.0.0.source-code.log4j2.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JColorful Show documentation
Show all versions of JColorful Show documentation
Library adds ability to apply themes to your Java SE application
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ (C) Copyright 2018. Eugene Zrazhevsky and others. ~ Licensed 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. ~ Contributors: ~ Eugene Zrazhevsky <[email protected]> --> <Configuration> <Appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="%d %p %C{1.}:%L [%t] - %msg%n" charset="UTF-8"/> </Console> <RollingFile name="Debug" fileName="${sys:java.io.tmpdir}/JColorful-debug.log" filePattern="${sys:java.io.tmpdir}/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz"> <PatternLayout header="${java:runtime} - ${java:vm} - ${java:os}" charset="UTF-8"> <pattern>%d %p %C{1.}:%L [%t] - %msg%n</pattern> </PatternLayout> <Policies> <SizeBasedTriggeringPolicy size="5 MB"/> </Policies> <DefaultRolloverStrategy max="1"/> </RollingFile> <RollingFile name="Important" fileName="${sys:java.io.tmpdir}/JColorful-info.log" filePattern="${sys:java.io.tmpdir}/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz"> <PatternLayout header="${java:runtime} - ${java:vm} - ${java:os}" charset="UTF-8"> <pattern>%d %p %C{1.}:%L [%t] - %msg%n</pattern> </PatternLayout> <Policies> <SizeBasedTriggeringPolicy size="5 MB"/> </Policies> <DefaultRolloverStrategy max="1"/> </RollingFile> </Appenders> <Loggers> <Root level="Debug"> <AppenderRef ref="Console" level="info"/> <appender-ref ref="Debug" level="debug"/> <appender-ref ref="Important" level="info"/> </Root> </Loggers> </Configuration>