Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 507
    • Issues 507
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 47
    • Merge requests 47
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #1549

Closed
Open
Created Nov 16, 2020 by Chris@Tatsu-Kishi

Logger output_options inheritance not working

Describe the bug When defining the "kea-dhcp4" logger with output options and further sub-loggers like "kea-dhcp4.alloc-engine" without output options, they won't appear in the file defined in the parent logger.

To Reproduce Steps to reproduce the behavior:

  1. Run Kea dhcpv4 with the following logger config
  "loggers": [
    {
      "name": "kea-dhcp4",
      "severity": "INFO",
      #"severity": "DEBUG",
      "debuglevel": 55,
      "output_options": [
        {
          "output": "/var/log/kea/kea.log",
          #"output": "/tmp/keadebug.log",
          "flush": true,
          "maxver": 8
        }
      ]
    },
    {
      "name": "kea-dhcp4.alloc-engine",
      "severity": "DEBUG",
      "debuglevel": 70
    }
  ]
  1. A client requests an IP
  2. There are no log messages from alloc-engine in /var/log/kea/kea.log

Expected behavior Debug-level alloc-engine messages.

Environment:

  • Kea version: 1.8.1
  • OS: Ubuntu 18.04 x64]
  • Which features were compiled in: cloudsmith
  • If/which hooks where loaded in: kea-ha, lease-commands
Edited Nov 16, 2020 by Chris
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking