From b66fe236f84d0b1a3eead43a6995ce963c20e6e5 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Mon, 31 Mar 2025 21:25:34 +0300 Subject: [PATCH] [#3569] added ChangeLog entry --- ChangeLog | 4 ++++ src/hooks/dhcp/forensic_log/legal_syslog.cc | 2 +- src/lib/log/logger.h | 2 +- src/lib/log/logger_impl.h | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53a8ce1eeb..46bee6f1e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2336. [func] razvan + Added support for syslog backend in forensic log hook library. + (Gitlab #3569) + Kea 2.7.7 (development) released on March 26, 2025 2335. [func] razvan diff --git a/src/hooks/dhcp/forensic_log/legal_syslog.cc b/src/hooks/dhcp/forensic_log/legal_syslog.cc index c6e5ce7057..f2138c06c6 100644 --- a/src/hooks/dhcp/forensic_log/legal_syslog.cc +++ b/src/hooks/dhcp/forensic_log/legal_syslog.cc @@ -34,7 +34,7 @@ LegalSyslog::LegalSyslog(const DatabaseConnection::ParameterMap& parameters) /// loggers to be declared statically: the name is stored in a fixed-size /// array to avoid the need to allocate heap storage during program /// initialization (which causes problems on some operating systems). - /// e.g. or error: '' is not a valid name for a logger: + /// e.g. of error: '' is not a valid name for a logger: /// valid names must be between 1 and 31 characters in length. info.name_ = "legal-log-"; info.name_ += boost::lexical_cast(reinterpret_cast(this)); diff --git a/src/lib/log/logger.h b/src/lib/log/logger.h index 4178289d8f..418303d217 100644 --- a/src/lib/log/logger.h +++ b/src/lib/log/logger.h @@ -157,7 +157,7 @@ public: /// loggers to be declared statically: the name is stored in a fixed-size /// array to avoid the need to allocate heap storage during program /// initialization (which causes problems on some operating systems). - /// e.g. or error: '' is not a valid name for a logger: + /// e.g. of error: '' is not a valid name for a logger: /// valid names must be between 1 and 31 characters in length. /// /// \note Note also that there is no constructor taking a std::string. This diff --git a/src/lib/log/logger_impl.h b/src/lib/log/logger_impl.h index f275c9b4f5..1b8763b1c8 100644 --- a/src/lib/log/logger_impl.h +++ b/src/lib/log/logger_impl.h @@ -68,7 +68,7 @@ public: /// loggers to be declared statically: the name is stored in a fixed-size /// array to avoid the need to allocate heap storage during program /// initialization (which causes problems on some operating systems). - /// e.g. or error: '' is not a valid name for a logger: + /// e.g. of error: '' is not a valid name for a logger: /// valid names must be between 1 and 31 characters in length. /// /// \param name Name of the logger.