From 4c033b3af74d89dc9ddd488b198cd9083e4c4c1a Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Sat, 11 Oct 2025 22:11:08 +0800 Subject: [PATCH] feat(config): disable logging and usage stats by default --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 1d9fca20..3de596a7 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -180,8 +180,8 @@ func LoadConfigOptional(configFile string, optional bool) (*Config, error) { // Unmarshal the YAML data into the Config struct. var cfg Config // Set defaults before unmarshal so that absent keys keep defaults. - cfg.LoggingToFile = true - cfg.UsageStatisticsEnabled = true + cfg.LoggingToFile = false + cfg.UsageStatisticsEnabled = false if err = yaml.Unmarshal(data, &cfg); err != nil { if optional { // In cloud deploy mode, if YAML parsing fails, return empty config instead of error.