TINE Docs
GitHub
  • Highlights
  • TINE
    • Install
  • GETTING STARTED
    • Quick start
    • Concept
      • Multiple Inlets and Outlets
      • Merge Records
      • Pipeline as Http Handler
    • Log config
  • Embedding TINE in Go
    • Use Recipe
    • Use API
  • Plugins
    • Inlets
    • Flows
    • Outlets
    • Extras
  • RECIPES
    • QRCode Generator
    • OLLAMA
    • OLLAMA Telegram Bot
    • Web Page Snapshot
    • Syslog Receiver
    • SQLite
    • RRD
Powered by GitBook
On this page
Edit on GitHub
  1. GETTING STARTED

Log config

Default log configuration.

[log]
    ## log file path, "-" for stdout, "" for no log
    ## default is ""
    path = ""

    ## log level: DEBUG, INFO, WARN, ERROR
    level = "INFO"

    ## max log file size in MB
    max_size = 100

    ## max log file age in days
    max_age = 7

    ## max log file backups
    max_backups = 10

    ## compress log backup files
    compress = false

    ## chown the log file (empty for current user)
    ## ignored on windows
    chown = ""

    ## use ansi color in log (useful for console output)
    no_color = false

    ## add source file and line to log
    add_source = false
PreviousPipeline as Http HandlerNextUse Recipe

Last updated 9 months ago