LogoLogo
  • About
  • Installation
  • Update & migration
  • Configuration
    • Hostname
    • TLS / HTTPS
    • Database
    • Logging
    • API Security
    • Storage
      • Disk
      • In-memory
      • S3
    • RTMP
    • SRT
    • FFmpeg
    • Sessions
    • Metrics
    • Router
    • Debug
  • API Swagger-Documentation
  • API Clients
  • Web-Interface
  • Guides
    • Beginner
    • RTMP
    • SRT
    • Filesystems
  • General
    • Prometheus metrics
  • API
    • Login
    • Config
    • Log
    • Filesystem
      • Disk
      • In-memory
      • S3
    • Metrics
    • Sessions
    • Profiling
    • Ping
  • API / FFmpeg
    • Process
      • Command
      • Metadata
      • State
      • Probe
      • Report
    • Skills
    • Widget (Website)
  • API / RTMP
    • RTMP
  • API / SRT
    • SRT
  • Development
    • Architecture
    • Coding
    • Custom Docker images
    • Benchmark
    • Support
Powered by GitBook
On this page
  • Configuration
  • level (string)
  • topics (array)
  • max_lines (integer)

Was this helpful?

Export as PDF
  1. Configuration

Logging

Logging settings for the datarhei Core.

Configuration

{
   "log": {
      "level": "info",
      "topics": [],
      "max_lines": 1000
   }
}
CORE_LOG_LEVEL=info
CORE_LOG_TOPIC=[]
CORE_LOG_MAXLINES=1000

level (string)

The verbosity of the logging. The datarhei Core is writing the logs to stderr. Possible values are:

  • silent No logging at all.

  • error Only errors will be logged.

  • warn Warnings and errors will be logged.

  • info General information, warnings, and errors will be logged.

  • debug Debug messages and every thing else will be logged. This is very chatty.

The default logging level is info.

topics (array)

Logging topics allow you to restrict what type of messages will be logged. This is practical if you enable debug logging and want to see only the logs you're interested in. An empty list of topics means that all topics will be logged.

An non-exhaustive list of logging topics:

  • cleanup

  • config

  • core

  • diskfs

  • http

  • httpcache

  • https

  • let's encrypt

  • memfs

  • process

  • processstore

  • rtmp

  • rtmp/s

  • rtmps

  • update

  • service

  • session

  • sessionstore

  • srt

By default all topics are logged.

max_lines (integer)

The log is also kept in memory for retrieval via the API. This value defines how many lines shoul dbe kept in memory.

The default is 1000 lines.

PreviousDatabaseNextAPI Security

Last updated 2 years ago

Was this helpful?