59#if defined(WIN32) && defined(_DEBUG) && defined(LEAK_CHECK)
60 resip::FindMemoryLeaks
fml;
69 catch(
const std::exception&
e)
71 ErrLog(<<
"Exception parsing configuration: " <<
e.what());
81 std::cerr <<
"Already running, will not start two instances. Please stop existing process and/or delete PID file.";
83 syslog(
LOG_DAEMON |
LOG_CRIT,
"Already running, will not start two instances. Please stop existing process and/or delete PID file.");
101 std::unique_ptr<asio::io_context>
ioContext(
new asio::io_context);
249 catch (
const std::exception&
e)
251 ErrLog(<<
"exception: " <<
e.what());
static void initialize(Type type, Level level, const Data &appName, const char *logFileName=0, ExternalLogger *externalLogger=0, const Data &syslogFacility="LOG_DAEMON", MessageStructure messageStructure=Unstructured, const Data &instanceName="")