From 4309541e87f6786d0fa2c4d8f33696c56e555c21 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Mon, 2 Feb 2015 18:26:47 -0800 Subject: [PATCH] go-ipfs-config: feat(config) default Log.MaxSizeMB = 500 --- config/init.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/init.go b/config/init.go index 6d1c529e7..76a70cdd6 100644 --- a/config/init.go +++ b/config/init.go @@ -41,6 +41,9 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { Bootstrap: BootstrapPeerStrings(bootstrapPeers), Datastore: *ds, Identity: identity, + Log: Log{ + MaxSizeMB: 500, + }, // setup the node mount points. Mounts: Mounts{ @@ -54,7 +57,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { Gateway: Gateway{ RootRedirect: "", - Writable: false, + Writable: false, }, }