From c48aef415ff9cedd5eb53cb4a7a633d849c1005c Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Mon, 2 Feb 2015 18:26:47 -0800 Subject: [PATCH] feat(config) default Log.MaxSizeMB = 500 --- repo/config/init.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repo/config/init.go b/repo/config/init.go index 6d1c529e7..76a70cdd6 100644 --- a/repo/config/init.go +++ b/repo/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, }, }