blob: 3211218c3694907536ab20ef574a975afe6c2163 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
read port < logserver.port
cat > logd.cfg << EOF
logserver.host "localhost"
logserver.port $port
rotate.size 1024
rotate.age 1000
remove.totalmegabytes 100
remove.age 30
EOF
|