feat(config) default Log.MaxSizeMB = 500
Brian Tiger Chow committed
Feb 2, 2015 at 18:26 UTC
c48aef415ff9cedd5eb53cb4a7a633d849c1005c
1 file changed
+4
-1
repo/config/init.go
+4
-1
@@ -41,6 +41,9 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
41
Bootstrap: BootstrapPeerStrings(bootstrapPeers),
42
Datastore: *ds,
43
Identity: identity,
44
+ Log: Log{
45
+ MaxSizeMB: 500,
46
+ },
47
48
// setup the node mount points.
49
Mounts: Mounts{
@@ -54,7 +57,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
57
58
Gateway: Gateway{
59
RootRedirect: "",
57
- Writable: false,
60
+ Writable: false,
61
},
62
}
63