Reports - final version (#418)

* remove device config at log

* ...

* update ui
This commit is contained in:
brindosch
2017-03-18 00:05:04 +01:00
committed by redPanther
parent a20e073bbd
commit 9a0e1daf7b
22 changed files with 128 additions and 66 deletions

View File

@@ -55,7 +55,6 @@ LedDevice * LedDeviceFactory::construct(const QJsonObject & deviceConfig, const
Logger * log = Logger::getInstance("LedDevice");
QJsonDocument config(deviceConfig);
QString ss(config.toJson(QJsonDocument::Indented));
Info(log, "configuration: %s ", ss.toUtf8().constData());
QString type = deviceConfig["type"].toString("UNSPECIFIED").toLower();

View File

@@ -43,7 +43,7 @@ StaticFileServing::~StaticFileServing ()
void StaticFileServing::onServerStarted (quint16 port)
{
Info(_log, "started on port %d name \"%s\"", port ,_server->getServerName().toStdString().c_str());
Info(_log, "started on port %d name '%s'", port ,_server->getServerName().toStdString().c_str());
const QString mDNSDescr = _server->getServerName() + "@" + QHostInfo::localHostName();