Opened 3 years ago

Last modified 3 years ago

#5052 new defect

Syslog message formatting

Reported by: eest Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: Unclassified Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


A syslog message from kea 1.1.0 looks like this:
Oct 3 23:12:21 server1 LOCAL0: INFO [kea-dhcp6.dhcp6] DHCP6_STARTED Kea DHCPv6 server version 1.1.0 started

Comparing this output to some other daemons (here sshd and nsd):
Oct 17 20:16:13 server1 sshd[1625]: Server listening on port 22.
Oct 17 20:17:24 server1 nsd[23259]: nsd started (NSD 4.1.7), pid 4691

Note how kea uses "LOCAL0" where the other daemons place the process name + pid. I think it would be good for log parsing if kea mirrored this format, maby embedding the syslog facility/level in the free text instead.


Change History (1)

comment:1 Changed 3 years ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

Move to outstanding, per Kea team meeting on 10/20/16

Note: See TracTickets for help on using tickets.