summaryrefslogtreecommitdiffstats
path: root/logd/src/main/resources/configdefinitions/logd.def
blob: bb5f487c47ec6016533ce7cf2258da525176626d (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
39
40
41
42
43
44
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=cloud.config.log

## Port to serve status and metrics on
stateport int default=0

## Host to contact the logserver on.
logserver.host string default="localhost"

## RPC port of logserver.
logserver.rpcport int default=5822

## Legacy port to contact the logserver on.
## Deprecated (not used). TODO: Remove on Vespa 8.
logserver.port int default=5821

## Use RPC protocol
## Deprecated (always true). TODO: Remove on Vespa 8.
logserver.userpc bool default=true

## Forward to a logserver. Other logserver configuration is irrelevant if false.
logserver.use bool default=true

## Loglevel config whether they should be stored and/or forwarded
loglevel.fatal.forward bool default=true
loglevel.error.forward bool default=true
loglevel.warning.forward bool default=true
loglevel.config.forward bool default=true
loglevel.info.forward bool default=true
loglevel.event.forward bool default=false
loglevel.debug.forward bool default=false
loglevel.spam.forward bool default=false

## when the logfile reaches this size, rotate it
rotate.size int default=10000000

## when the logfile reaches this age (in seconds), rotate it
rotate.age int default=86400

## remove old logfiles so total size does not exceed this (in megabytes)
remove.totalmegabytes int default=1000

## remove old logfiles older than this (in days)
remove.age int default=30