diff options
author | thlo <smarttv640@gmail.com> | 2013-09-01 21:09:15 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-09-01 21:09:15 +0200 |
commit | b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647 (patch) | |
tree | 1e73bb20f1ac91725dfd1e0f124c419c1fe7a391 /smarttvfactory.c | |
parent | d9ccb92d336bb36a90b3ab9ace2d221644442d43 (diff) | |
download | vdr-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-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(); |