################################################################################ # # 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. # ################################################################################ log4j2.status = info log4j2.dest = err log4j2.name = PropertiesConfig log4j2.filter.threshold.type = ThresholdFilter log4j2.filter.threshold.level = debug log4j2.appender.rolling.type = RollingFile log4j2.appender.rolling.name = RollingFile log4j2.appender.rolling.fileName = ${org.osgi.log.dir}/osgi.log log4j2.appender.rolling.filePattern = ${org.osgi.log.dir}/osgi-%d{yyyyMMdd}-%i.log.gz log4j2.appender.rolling.layout.type = PatternLayout log4j2.appender.rolling.layout.pattern = %d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n log4j2.appender.rolling.policies.type = Policies log4j2.appender.rolling.policies.time.type = TimeBasedTriggeringPolicy log4j2.appender.rolling.policies.time.interval = 1 log4j2.appender.rolling.policies.time.modulate = true log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy log4j2.appender.rolling.policies.size.size = 100MB # # Uncomment the following line, if you want to roll the log file upon each restarted # #log4j2.appender.rolling.policies.startup.type = OnStartupTriggeringPolicy log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy log4j2.appender.rolling.strategy.max = 10 # # Individual log levels are configured like follows # #log4j2.logger.1.name = org.clazzes.util.osgi #log4j2.logger.1.level = debug # #log4j2.logger.2.name = org.clazzes.login #log4j2.logger.2.level = debug log4j2.rootLogger.level = info log4j2.rootLogger.appenderRef.rollin.ref = RollingFile