33    const char* sev_char = getenv(
"KEA_LOGGER_SEVERITY");
 
 
   45    const char* dbg_char = getenv(
"KEA_LOGGER_DBGLEVEL");
 
   49            level = boost::lexical_cast<int>(dbg_char);
 
   51                std::cerr << 
"**ERROR** debug level of " << level
 
   56                std::cerr << 
"**ERROR** debug level of " << level
 
   63            std::cerr << 
"**ERROR** Unable to translate " 
   64                         "KEA_LOGGER_DBGLEVEL - a value of 0 will be used\n";
 
 
   77    const char* root = getenv(
"KEA_LOGGER_ROOT");
 
   84    const char* localfile = getenv(
"KEA_LOGGER_LOCALMSG");
 
   87    setenv(
"KEA_LOCKFILE_DIR", TOP_BUILDDIR, 0);
 
   90    initLogger(root, severity, dbglevel, localfile);
 
 
Logging initialization functions.
Miscellaneous logging functions used by the unit tests.
void initLogger(const string &root, isc::log::Severity severity, int dbglevel, const char *file, bool buffer)
Run-time initialization.
isc::log::Severity getSeverity(const std::string &sev_str)
Returns the isc::log::Severity value represented by the given string.
const std::string & getDefaultRootLoggerName()
Returns the default ('kea') root logger name.
const int MAX_DEBUG_LEVEL
int keaLoggerDbglevel(int defdbglevel)
Obtains logging debug level from KEA_LOGGER_DBGLEVEL.
void setDefaultLoggingOutput(bool verbose)
Reset root logger characteristics.
const int MIN_DEBUG_LEVEL
Minimum/maximum debug levels.
isc::log::Severity keaLoggerSeverity(isc::log::Severity defseverity)
Obtains logging severity from KEA_LOGGER_SEVERITY.
Defines the logger used by the top-level component of kea-lfc.