}
string msg = g_rcc.recv(clientfd).d_str;
SLOG(g_log << Logger::Info << "Received rec_control command '" << msg << "' via controlsocket" << endl,
- log->info(Logr::Info, "Received rec_control command via controlsocket", "command", Logging::Loggable(msg)));
+ log->info(Logr::Info, "Received rec_control command via control socket", "command", Logging::Loggable(msg)));
RecursorControlParser rcp;
RecursorControlParser::func_t* command;
}
catch (const std::exception& e) {
SLOG(g_log << Logger::Error << "Error dealing with control socket request: " << e.what() << endl,
- log->error(Logr::Error, e.what(), "Exception while dealing with control request", "exception", Logging::Loggable("std::exception")));
+ log->error(Logr::Error, e.what(), "Exception while dealing with control socket request", "exception", Logging::Loggable("std::exception")));
}
catch (const PDNSException& ae) {
SLOG(g_log << Logger::Error << "Error dealing with control socket request: " << ae.reason << endl,
- log->error(Logr::Error, ae.reason, "Exception while dealing with control request", "exception", Logging::Loggable("PDNSException")));
+ log->error(Logr::Error, ae.reason, "Exception while dealing with control socket request", "exception", Logging::Loggable("PDNSException")));
}
}
}
catch (const std::exception& e)
{
- SLOG(cerr << "Remote Logger's maintenance thead died on: " << e.what() << endl,
- g_slog->withName("protobuf")->error(Logr::Error, e.what(), "Remote Logger's maintenance thead died"));
+ SLOG(cerr << "Remote Logger's maintenance thread died on: " << e.what() << endl,
+ g_slog->withName("protobuf")->error(Logr::Error, e.what(), "Remote Logger's maintenance thread died"));
}
catch (...) {
- SLOG(cerr << "Remote Logger's maintenance thead died on unknown exception" << endl,
- g_slog->withName("protobuf")->info(Logr::Error, "Remote Logger's maintenance thead died"));
+ SLOG(cerr << "Remote Logger's maintenance thread died on unknown exception" << endl,
+ g_slog->withName("protobuf")->info(Logr::Error, "Remote Logger's maintenance thread died"));
}
}