summaryrefslogtreecommitdiff
path: root/tntconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r--tntconfig.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tntconfig.cpp b/tntconfig.cpp
index 4f0df22..bf811f1 100644
--- a/tntconfig.cpp
+++ b/tntconfig.cpp
@@ -255,10 +255,11 @@ namespace vdrlive {
size_t listenFailures = 0;
for ( Setup::IpList::const_iterator ip = ips.begin(); ip != ips.end(); ++ip ) {
try {
+ esyslog("[live] INFO: attempt to listen on ip = '%s'", ip->c_str());
app.listen(*ip, port);
}
catch (exception const & ex) {
- esyslog("ERROR: live ip = %s is invalid: exception = %s", ip->c_str(), ex.what());
+ esyslog("[live] ERROR: ip = %s is invalid: exception = %s", ip->c_str(), ex.what());
if (++listenFailures == ips.size()) {
// if no listener was initialized we throw at
// least the last exception to the next layer.
@@ -286,7 +287,7 @@ namespace vdrlive {
}
}
else {
- esyslog( "ERROR: Unable to load cert/key (%s/%s): %s", s_cert.c_str(), s_key.c_str(), strerror( errno ) );
+ esyslog( "[live] ERROR: Unable to load cert/key (%s/%s): %s", s_cert.c_str(), s_key.c_str(), strerror( errno ) );
}
#endif // TNT_SSL_SUPPORT