From 9b843181f85fb6ee2555d75576955fa8fa77abf0 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Wed, 8 Oct 2025 17:09:44 -0400 Subject: [PATCH] remove unused (and broken) logger.verbose config option --- .config/ci.yml | 3 --- .config/cypress-devcontainer.yml | 3 --- .config/docker_example.yml | 3 --- .config/example.yml | 3 --- packages/backend/src/config.ts | 3 --- 5 files changed, 15 deletions(-) diff --git a/.config/ci.yml b/.config/ci.yml index 5fcf78b737..8543205b17 100644 --- a/.config/ci.yml +++ b/.config/ci.yml @@ -374,9 +374,6 @@ attachLdSignatureForRelays: true # # Disable query truncation. If set to true, the full text of the query will be output to the log. # # default: false # disableQueryTruncation: false -# # Shows debug log messages after instance startup. To capture earlier debug logs, set the MK_VERBOSE environment variable. -# # default: false in production, true otherwise. -# #verbose: false # Settings for the activity logger, which records inbound activities to the database. # Disabled by default due to the large volume of data it saves. diff --git a/.config/cypress-devcontainer.yml b/.config/cypress-devcontainer.yml index eae7e14308..f705d06d45 100644 --- a/.config/cypress-devcontainer.yml +++ b/.config/cypress-devcontainer.yml @@ -325,9 +325,6 @@ allowedPrivateNetworks: # # Disable query truncation. If set to true, the full text of the query will be output to the log. # # default: false # disableQueryTruncation: false -# # Shows debug log messages after instance startup. To capture earlier debug logs, set the MK_VERBOSE environment variable. -# # default: false in production, true otherwise. -# #verbose: false # Settings for the activity logger, which records inbound activities to the database. # Disabled by default due to the large volume of data it saves. diff --git a/.config/docker_example.yml b/.config/docker_example.yml index de43d3e43c..5905e3deed 100644 --- a/.config/docker_example.yml +++ b/.config/docker_example.yml @@ -442,9 +442,6 @@ attachLdSignatureForRelays: true # # Disable query truncation. If set to true, the full text of the query will be output to the log. # # default: false # disableQueryTruncation: false -# # Shows debug log messages after instance startup. To capture earlier debug logs, set the MK_VERBOSE environment variable. -# # default: false in production, true otherwise. -# #verbose: false # Settings for the activity logger, which records inbound activities to the database. # Disabled by default due to the large volume of data it saves. diff --git a/.config/example.yml b/.config/example.yml index 745004305d..cffc333d14 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -448,9 +448,6 @@ attachLdSignatureForRelays: true # # Disable query truncation. If set to true, the full text of the query will be output to the log. # # default: false # disableQueryTruncation: false -# # Shows debug log messages after instance startup. To capture earlier debug logs, set the MK_VERBOSE environment variable. -# # default: false in production, true otherwise. -# #verbose: false # Settings for the activity logger, which records inbound activities to the database. # Disabled by default due to the large volume of data it saves. diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index 102cb69dcb..968f220b6d 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -144,7 +144,6 @@ type Source = { disableQueryTruncation?: boolean, enableQueryParamLogging?: boolean, }; - verbose?: boolean; } activityLogging?: { @@ -290,7 +289,6 @@ export type Config = { disableQueryTruncation?: boolean, enableQueryParamLogging?: boolean, }; - verbose?: boolean; } version: string; @@ -671,7 +669,6 @@ function applyEnvOverrides(config: Source) { _apply_top(['import', ['downloadTimeout', 'maxFileSize']]); _apply_top([['signToActivityPubGet', 'checkActivityPubGetSignature', 'setupPassword', 'disallowExternalApRedirect']]); _apply_top(['logging', 'sql', ['disableQueryTruncation', 'enableQueryParamLogging']]); - _apply_top(['logging', ['verbose']]); _apply_top(['activityLogging', ['enabled', 'preSave', 'maxAge']]); _apply_top(['customHtml', ['head']]); }