From be0a12521e5e679759a5bef52586385ffe20e4cd Mon Sep 17 00:00:00 2001 From: gabogg Date: Sat, 13 Jun 2026 01:15:44 +0000 Subject: [PATCH] feat: configure global startup instrumentation to trigger log redaction rules --- src/instrumentation.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/instrumentation.ts diff --git a/src/instrumentation.ts b/src/instrumentation.ts new file mode 100644 index 0000000..6f1b93e --- /dev/null +++ b/src/instrumentation.ts @@ -0,0 +1,6 @@ +import { setupLogRedaction } from './lib/log-redactor'; + +export function register() { + console.log('[Startup] Setting up log redaction rules for security...'); + setupLogRedaction(); +}