summaryrefslogtreecommitdiff
path: root/smarttvfactory.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-14 18:11:01 +0200
committerthlo <t.lohmar@gmx.de>2013-09-14 18:11:01 +0200
commite48a23b9825dfe731a8ceb663cef9c12b593e6bd (patch)
tree60ea6d142d10c65f79fd1f788fab00e00197664d /smarttvfactory.c
parente8943979b23221d325697dde753842a5ced569d4 (diff)
parent60bfd8aad9a4ab7d810d6a6bf82fe71f64d56263 (diff)
downloadvdr-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-xsmarttvfactory.c9
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();