diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-02-13 01:36:53 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-02-13 01:36:53 +0100 |
commit | afa4e929814e524291e5c44808e1f594cfccd290 (patch) | |
tree | f40b073ee6afa8f4e4d7c52295140d6547347f26 /tntconfig.cpp | |
parent | 8c66b5ce039fbc6d6e20561fc4a670cb95428c47 (diff) | |
download | vdr-plugin-live-afa4e929814e524291e5c44808e1f594cfccd290.tar.gz vdr-plugin-live-afa4e929814e524291e5c44808e1f594cfccd290.tar.bz2 |
Log on which ips an attempt to listen is initiated at live plugin startup.
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r-- | tntconfig.cpp | 5 |
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 |