summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-02-09 11:39:28 +0000
committerdakkar <dakkar@thenautilus.net>2025-02-09 12:15:42 +0000
commit4567f243a9c8fa0f6e36b14c34086cea1286bcd8 (patch)
tree7e04bee7781b3f4783f8766ebffcd432da462103
parentremove unstable "detector" tests from megalodon (diff)
downloadsharkey-4567f243a9c8fa0f6e36b14c34086cea1286bcd8.tar.gz
sharkey-4567f243a9c8fa0f6e36b14c34086cea1286bcd8.tar.bz2
sharkey-4567f243a9c8fa0f6e36b14c34086cea1286bcd8.zip
allow overriding logging via env
-rw-r--r--packages/backend/src/config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts
index 7d2641ec66..843c552254 100644
--- a/packages/backend/src/config.ts
+++ b/packages/backend/src/config.ts
@@ -518,7 +518,7 @@ function applyEnvOverrides(config: Source) {
['redis', 'redisForPubsub', 'redisForJobQueue', 'redisForTimelines', 'redisForReactions'],
['host', 'port', 'username', 'pass', 'db', 'prefix'],
]);
- _apply_top(['fulltextSearch', ['provider']]);
+ _apply_top(['fulltextSearch', 'provider']);
_apply_top(['meilisearch', ['host', 'port', 'apikey', 'ssl', 'index', 'scope']]);
_apply_top([['sentryForFrontend', 'sentryForBackend'], 'options', ['dsn', 'profileSampleRate', 'serverName', 'includeLocalVariables', 'proxy', 'keepAlive', 'caCerts']]);
_apply_top(['sentryForBackend', 'enableNodeProfiling']);
@@ -527,4 +527,5 @@ function applyEnvOverrides(config: Source) {
_apply_top([['maxFileSize', 'maxNoteLength', 'maxRemoteNoteLength', 'maxAltTextLength', 'maxRemoteAltTextLength', 'pidFile', 'filePermissionBits']]);
_apply_top(['import', ['downloadTimeout', 'maxFileSize']]);
_apply_top([['signToActivityPubGet', 'checkActivityPubGetSignature', 'setupPassword']]);
+ _apply_top(['logging', 'sql', ['disableQueryTruncation', 'enableQueryParamLogging']]);
}