From cc7055774da065b82f1e0e9eda8d58ccfc7b1a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Magiera?= <magik6k@gmail.com>
Date: Tue, 12 Apr 2022 23:15:25 +0200
Subject: [PATCH] chore: config: default-disable kvlog

---
 documentation/en/default-lotus-config.toml       | 2 +-
 documentation/en/default-lotus-miner-config.toml | 2 +-
 node/config/def.go                               | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/documentation/en/default-lotus-config.toml b/documentation/en/default-lotus-config.toml
index 1c9caf3a018..ff4be96c8af 100644
--- a/documentation/en/default-lotus-config.toml
+++ b/documentation/en/default-lotus-config.toml
@@ -20,7 +20,7 @@
   #
   # type: bool
   # env var: LOTUS_BACKUP_DISABLEMETADATALOG
-  #DisableMetadataLog = false
+  #DisableMetadataLog = true
 
 
 [Logging]
diff --git a/documentation/en/default-lotus-miner-config.toml b/documentation/en/default-lotus-miner-config.toml
index 22c2b1ce8b5..15e498fd3ce 100644
--- a/documentation/en/default-lotus-miner-config.toml
+++ b/documentation/en/default-lotus-miner-config.toml
@@ -20,7 +20,7 @@
   #
   # type: bool
   # env var: LOTUS_BACKUP_DISABLEMETADATALOG
-  #DisableMetadataLog = false
+  #DisableMetadataLog = true
 
 
 [Logging]
diff --git a/node/config/def.go b/node/config/def.go
index b7ab39d3d40..0401b0e4401 100644
--- a/node/config/def.go
+++ b/node/config/def.go
@@ -52,6 +52,9 @@ func defCommon() Common {
 				"example-subsystem": "INFO",
 			},
 		},
+		Backup: Backup{
+			DisableMetadataLog: true,
+		},
 		Libp2p: Libp2p{
 			ListenAddresses: []string{
 				"/ip4/0.0.0.0/tcp/0",