summaryrefslogtreecommitdiff
path: root/smarttvfactory.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-01 21:09:15 +0200
committerthlo <smarttv640@gmail.com>2013-09-01 21:09:15 +0200
commitb67fdbd19781ea9a5c00e5ce2332ae80aa4e2647 (patch)
tree1e73bb20f1ac91725dfd1e0f124c419c1fe7a391 /smarttvfactory.c
parentd9ccb92d336bb36a90b3ab9ace2d221644442d43 (diff)
downloadvdr-plugin-smarttvweb-b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647.tar.gz
vdr-plugin-smarttvweb-b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647.tar.bz2
New enable flag for RecCmds and new Port parameter in smarttvweb.conf. Bug fixes.
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();