# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
version=4
namespace=container.core
logger string default="com.yahoo"
# Either QueryAccessLog for a regular Vespa access log, or YApacheAccessLog for a log on yApache format
speciallog[].name string

# Leave as ""
speciallog[].type string

speciallog[].filehandler.name string default=""

# File name patterns supporting the expected time variables
speciallog[].filehandler.pattern string default=".%Y%m%d%H%M%S"

speciallog[].filehandler.rotation string default="0 60 ..."

# Defines how file rotation is done. There are two options:
#
# "date" :
# The active log file is given the name resulting from pattern (but in this case "pattern" must yield a
# time-dependent name. In addition, a symlink is created pointing to the newest file.
# The symlink is given the name of the symlink parameter (or the name of this service
# if no parameter is given.
#
# "sequence" :
# The active log file is given the name
# defined by "pattern" (which in this case will likely just be a constant string).
# At rotation, this file is given the name pattern.N where N is 1 + the largest integer found by
# extracting the integers from all files ending by .Integer in the same directory
#
speciallog[].filehandler.rotatescheme string default="date"

# Use this as the name of the symlink created pointing to the newest file in the "date" naming scheme.
# This is ignored if the sequence naming scheme is used.
speciallog[].filehandler.symlink string default=""

speciallog[].cachehandler.name string default=""
speciallog[].cachehandler.size int default=1000
