World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
#
# 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.
#
status = warn
# Log files location
property.basePath = ${sys:gravitino.lance-rest-server.log.path}
property.serverName = ${sys:gravitino.lance-rest-server.name}
# Log retention. Rolled archives are kept for logMaxAge. Their total size is also capped: when the
# cap is exceeded, the oldest archives are deleted first. The cap does not include the file that is
# currently being written.
property.logMaxAge = 30d
property.serverLogMaxTotalSize = 1GB
# RollingFileAppender name, pattern, path and rollover policy
appender.rolling.type = RollingFile
appender.rolling.name = fileLogger
appender.rolling.fileName = ${basePath}/${serverName}.log
appender.rolling.filePattern = ${basePath}/${serverName}_%d{yyyyMMdd}.%i.log.gz
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} %level [%t] [%l] - %msg%n
appender.rolling.policies.type = Policies
# RollingFileAppender rotation policy
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 100MB
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling.policies.time.interval = 1
appender.rolling.policies.time.modulate = true
appender.rolling.strategy.type = DefaultRolloverStrategy
# Keep every archive of a day. Archives are removed only by the Delete action below.
appender.rolling.strategy.fileIndex = nomax
appender.rolling.strategy.delete.type = Delete
appender.rolling.strategy.delete.basePath = ${basePath}
appender.rolling.strategy.delete.maxDepth = 1
appender.rolling.strategy.delete.ifFileName.type = IfFileName
appender.rolling.strategy.delete.ifFileName.glob = ${serverName}_*.log.gz
# Delete archives older than logMaxAge, and the oldest archives beyond serverLogMaxTotalSize
appender.rolling.strategy.delete.ifFileName.ifAny.type = IfAny
appender.rolling.strategy.delete.ifFileName.ifAny.ifAccumulatedFileSize.type = IfAccumulatedFileSize
appender.rolling.strategy.delete.ifFileName.ifAny.ifAccumulatedFileSize.exceeds = ${serverLogMaxTotalSize}
appender.rolling.strategy.delete.ifFileName.ifAny.ifLastModified.type = IfLastModified
appender.rolling.strategy.delete.ifFileName.ifAny.ifLastModified.age = ${logMaxAge}
# Configure root logger
rootLogger.level = info
rootLogger.appenderRef.rolling.ref = fileLogger