aboutsummaryrefslogtreecommitdiffstats
path: root/logd/src/main/resources/configdefinitions/logd.def
blob: 3bed6e267b230be9dc6eb12abac1f81ff0ead0f0 (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
# Copyright Yahoo. 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

## 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=true
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