7 #ifndef DHCPSRV_LOGGING_INFO_H
8 #define DHCPSRV_LOGGING_INFO_H
54 : output_(
"stdout"), maxver_(1), maxsize_(10240000), flush_(true), pattern_(
"") {
103 destinations_.clear();
146 #endif // DHCPSRV_LOGGING_INFO_H
LoggingDestination()
Default constructor.
void clearDestinations()
Removes logging destinations.
std::vector< LoggingDestination > destinations_
specific logging destinations
Base class for user context.
boost::shared_ptr< Element > ElementPtr
bool equals(const LoggingInfo &other) const
Compares two objects for equality.
bool equals(const LoggingDestination &other) const
Compares two objects for equality.
std::vector< isc::process::LoggingInfo > LoggingInfoStorage
storage for logging information in log4cplus format
structure that describes one logging entry
isc::log::LoggerSpecification toSpec() const
Converts logger configuration to a spec.
std::string pattern_
defines the log format pattern It dictates what additional elements are output
std::string output_
defines logging destination output
Abstract class for configuration Cfg_* classes.
uint64_t maxsize_
Maximum log file size.
LoggingInfo()
Default constructor.
Defines single logging destination.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool operator==(const LoggingInfo &other) const
Compares two objects for equality.
isc::log::Severity severity_
describes logging severity
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
int debuglevel_
debuglevel (used when severity_ == DEBUG)
bool operator!=(const LoggingInfo &other) const
Compares two objects for inequality.
std::string name_
logging name
int maxver_
Maximum number of log files in rotation.
bool flush_
Immediate flush.