aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/resources/configdefinitions/qr-logging.def
blob: f828f321ae7d7611b1345140c69d222e3142ff4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
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