NotifyBC
Home
Docs
Help
GitHub
Home
Docs
Help
GitHub
  • Getting Started

    • Welcome
    • Overview
    • Quick Start
    • Installation
    • Web Console
    • What's New
  • Configuration

    • Configuration Overview
    • Database
    • Admin IP List
    • Reverse Proxy IP Lists
    • HTTP Host
    • Internal HTTP Host
    • Email
    • SMS
    • Subscription
    • Notification
    • Node Roles
    • Cron Jobs
    • RSA Keys
    • Worker Process Count
    • Middleware
    • OIDC
    • TLS Certificates
    • Queue
    • Logging
  • API

    • API Overview
    • Subscription
    • Notification
    • Configuration
    • Administrator
    • Bounce
  • Miscellaneous

    • Health Check
    • Disaster Recovery
    • Memory Dump
    • Benchmarks
    • Bulk Import
    • Developer Notes
    • Upgrade Guide
  • Meta

    • Code of Conduct
    • Security Reporting
    • Acknowledgments

Logging

Besides request logging using morgan middleware, NotifyBC also generates application log. Application log has following levels in descending severities

  1. fatal
  2. error
  3. warn
  4. log
  5. debug
  6. verbose

By default the first 4 logging levels are output to console. To override the defaults, set the loggingLevels config in src/config.local.js. For example, to include debug logs

module.exports = {
  // ...
  loggingLevels: ['fatal', 'error', 'warn', 'log', 'debug'],
};
Prev
Queue
Next
API Overview