fixes #3781
@ -72,7 +72,7 @@ var defaultConfig = harmonyconfig.HarmonyConfig{
RotateSize: 100,
Verbosity: 3,
VerbosePrints: harmonyconfig.LogVerbosePrints{
Config: false,
Config: true,
},
DNSSync: getDefaultDNSSyncConfig(defNetworkType),
@ -999,7 +999,7 @@ var (
logVerbosePrintsFlag = cli.StringSliceFlag{
Name: "log.verbose-prints",
Usage: "debugging feature. to print verbose internal objects as JSON in log file. available internal objects: config",
DefValue: []string{},
DefValue: []string{"config"},
}
// TODO: remove context (this shall not be in the log)
logContextIPFlag = cli.StringFlag{
@ -110,6 +110,9 @@ func TestHarmonyFlags(t *testing.T) {
IP: "8.8.8.8",
Port: 9000,
Sys: &harmonyconfig.SysConfig{
NtpServer: defaultSysConfig.NtpServer,