From 253163893dea3b5a687e236b15ec490f2a19de6c Mon Sep 17 00:00:00 2001 From: Lars Gierth Date: Wed, 11 Nov 2015 18:32:24 +0100 Subject: [PATCH] repo: remove Log config We stopped logging to files in a676b5a8ac2848a57318283f4b2b52d7d8686323 and this config section was missed. License: MIT Signed-off-by: Lars Gierth --- repo/config/config.go | 1 - repo/config/init.go | 4 ---- repo/config/log.go | 7 ------- repo/config/logs.go | 1 - 4 files changed, 13 deletions(-) delete mode 100644 repo/config/log.go delete mode 100644 repo/config/logs.go diff --git a/repo/config/config.go b/repo/config/config.go index ce96f594e..e40d0d7dc 100644 --- a/repo/config/config.go +++ b/repo/config/config.go @@ -30,7 +30,6 @@ type Config struct { SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled) API API // local node's API settings Swarm SwarmConfig - Log Log } const ( diff --git a/repo/config/init.go b/repo/config/init.go index 970597a65..ab1cea0e8 100644 --- a/repo/config/init.go +++ b/repo/config/init.go @@ -53,10 +53,6 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { Enabled: true, Interval: 10, }}, - Log: Log{ - MaxSizeMB: 250, - MaxBackups: 1, - }, // setup the node mount points. Mounts: Mounts{ diff --git a/repo/config/log.go b/repo/config/log.go deleted file mode 100644 index 81aebf059..000000000 --- a/repo/config/log.go +++ /dev/null @@ -1,7 +0,0 @@ -package config - -type Log struct { - MaxSizeMB int - MaxBackups int - MaxAgeDays int -} diff --git a/repo/config/logs.go b/repo/config/logs.go deleted file mode 100644 index d912156be..000000000 --- a/repo/config/logs.go +++ /dev/null @@ -1 +0,0 @@ -package config