Zum Inhalt springen
Deutsch

DEFAULT_LOG_DEAD_LETTERS_DURING_SHUTDOWN

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

const DEFAULT_LOG_DEAD_LETTERS_DURING_SHUTDOWN: false = false

Defined in: src/diagnostics/DiagnosticsOptions.ts:33

Built-in default for DiagnosticsOptionsType.logDeadLettersDuringShutdown — off.

terminate() drains every stashed and queued user message to dead letters on the way down, so a large system’s teardown is a burst that is both expected and uninteresting. Logging it would make an orderly shutdown look like an incident, which is the fastest way to teach an operator to ignore the record entirely.