summaryrefslogtreecommitdiffstats
path: root/logd/src/main
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /logd/src/main
Publish
Diffstat (limited to 'logd/src/main')
-rw-r--r--logd/src/main/resources/configdefinitions/logd.def33
1 files changed, 33 insertions, 0 deletions
diff --git a/logd/src/main/resources/configdefinitions/logd.def b/logd/src/main/resources/configdefinitions/logd.def
new file mode 100644
index 00000000000..664c949fdc2
--- /dev/null
+++ b/logd/src/main/resources/configdefinitions/logd.def
@@ -0,0 +1,33 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=cloud.config.log
+
+## Host to contact the logserver on.
+logserver.host string default="localhost"
+
+## Port to contact the logserver on.
+logserver.port int default=5821
+
+## Forward to a logserver. If false, logserver.host and logserver.port are irrelevant
+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=31