@cryptotaxi247 / kubo / commits / 5ed0af643

go-ipfs-config: repo: remove Log config

We stopped logging to files in a676b5a8ac2848a57318283f4b2b52d7d8686323 and this config section was missed. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>

Lars Gierth committed Nov 11, 2015 at 18:32 UTC 5ed0af64381f1983874997f21221136d62ff861e
4 files changed -13
config/config.go
-1
@@ -30,7 +30,6 @@ type Config struct {
30 SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
31 API API // local node's API settings
32 Swarm SwarmConfig
33 - Log Log
33 }
34
35 const (
config/init.go
-4
@@ -53,10 +53,6 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
53 Enabled: true,
54 Interval: 10,
55 }},
56 - Log: Log{
57 - MaxSizeMB: 250,
58 - MaxBackups: 1,
59 - },
56
57 // setup the node mount points.
58 Mounts: Mounts{
config/log.go deleted
-7
@@ -1,7 +0,0 @@
1 -package config
2 -
3 -type Log struct {
4 - MaxSizeMB int
5 - MaxBackups int
6 - MaxAgeDays int
7 -}
config/logs.go deleted
-1
@@ -1 +0,0 @@
1 -package config