diff options
Diffstat (limited to 'container-accesslogging/src/main/resources/configdefinitions/access-log.def')
-rw-r--r-- | container-accesslogging/src/main/resources/configdefinitions/access-log.def | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/container-accesslogging/src/main/resources/configdefinitions/access-log.def b/container-accesslogging/src/main/resources/configdefinitions/access-log.def new file mode 100644 index 00000000000..0e09e2a1fb7 --- /dev/null +++ b/container-accesslogging/src/main/resources/configdefinitions/access-log.def @@ -0,0 +1,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="" |