Skip to content
Logixlysia
Esc
↑↓navigate↵open⌘Jpreview
On this page

Log Filtering

Filter logs by level

logFilter restricts which log levels get processed. It has one field: level.

Basic usage

logixlysia({
  config: {
    logFilter: {
      level: ['ERROR', 'WARNING']
    }
  }
})

Available levels: ERROR, WARNING, INFO, DEBUG.

Omit logFilter, or omit level, and every level is processed.

Reducing volume

logFilter only drops whole levels. To keep a percentage of records instead, or to rescue slow and failed requests that would otherwise be dropped, use sampling, which supports head sampling per level and tail sampling by status, duration, or path.

Path-based include/exclude filtering is not currently available.

Was this page helpful?