summaryrefslogtreecommitdiffstats
path: root/container-accesslogging/src/main/resources/configdefinitions/access-log.def
blob: 0e09e2a1fb709769b8f3ce604a588cb2253bb2c4 (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
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
version=2
namespace=container.core


# File name patterns supporting the expected time variables, e.g. ".%Y%m%d%H%M%S"
fileHandler.pattern string
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
#
fileHandler.rotateScheme enum {DATE, SEQUENCE} 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.
fileHandler.symlink string default=""