summaryrefslogtreecommitdiff
path: root/smarttvfactory.c
diff options
context:
space:
mode:
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();