log cluster and controller events in the ringlog via logrus hook

This commit is contained in:
Murat Kabilov
2017-08-15 12:16:09 +02:00
parent 82f58b57d8
commit 51fdfb90f7
3 changed files with 60 additions and 31 deletions
+1
View File
@@ -61,6 +61,7 @@ type Config struct {
MasterDNSNameFormat stringTemplate `name:"master_dns_name_format" default:"{cluster}.{team}.{hostedzone}"`
ReplicaDNSNameFormat stringTemplate `name:"replica_dns_name_format" default:"{cluster}-repl.{team}.{hostedzone}"`
Workers uint32 `name:"workers" default:"4"`
RingLogLines int `name:"ring_log_lines" default:"100"`
}
// MustMarshal marshals the config or panics