diff options
author | thlo <smarttv640@gmail.com> | 2013-09-14 18:11:01 +0200 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-09-14 18:11:01 +0200 |
commit | e48a23b9825dfe731a8ceb663cef9c12b593e6bd (patch) | |
tree | 60ea6d142d10c65f79fd1f788fab00e00197664d /smarttvfactory.c | |
parent | e8943979b23221d325697dde753842a5ced569d4 (diff) | |
parent | 60bfd8aad9a4ab7d810d6a6bf82fe71f64d56263 (diff) | |
download | vdr-plugin-smarttvweb-e48a23b9825dfe731a8ceb663cef9c12b593e6bd.tar.gz vdr-plugin-smarttvweb-e48a23b9825dfe731a8ceb663cef9c12b593e6bd.tar.bz2 |
Merge branch 'master' of git-vdr@projects.vdr-developer.org:vdr-plugin-smarttvweb.git
Diffstat (limited to 'smarttvfactory.c')
-rwxr-xr-x | smarttvfactory.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/smarttvfactory.c b/smarttvfactory.c index b281a61..94242e6 100755 --- a/smarttvfactory.c +++ b/smarttvfactory.c @@ -713,9 +713,14 @@ void SmartTvServer::initServer(string dir) { #ifndef STANDALONE mConfig = new cSmartTvConfig(dir); + serverPort = mConfig->getServerPort(); mLog.init(mConfig->getLogFile()); - esyslog("SmartTvWeb: Logfile created"); - + + if (mConfig->getLogFile() != "") { + string msg = "SmartTvWeb: Logfile created File= " + mConfig->getLogFile(); + // esyslog("SmartTvWeb: Logfile created"); + esyslog(msg.c_str()); + } *(mLog.log()) << "LogFile= " << mConfig->getLogFile() << endl; initRecCmds(); |