feat: configure global startup instrumentation to trigger log redaction rules
This commit is contained in:
parent
9553721add
commit
be0a12521e
1 changed files with 6 additions and 0 deletions
6
src/instrumentation.ts
Normal file
6
src/instrumentation.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { setupLogRedaction } from './lib/log-redactor';
|
||||
|
||||
export function register() {
|
||||
console.log('[Startup] Setting up log redaction rules for security...');
|
||||
setupLogRedaction();
|
||||
}
|
||||
Loading…
Reference in a new issue