From e8ad1c9c993a98cdeea92dfcec29052654ec807d Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sun, 20 Jul 2014 21:48:03 +0200 Subject: Added VERSION to app and daemon --- daemon/daemon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/daemon.cpp') diff --git a/daemon/daemon.cpp b/daemon/daemon.cpp index b891680..6fa634c 100644 --- a/daemon/daemon.cpp +++ b/daemon/daemon.cpp @@ -70,8 +70,6 @@ void initLogging() Log4Qt::LogManager::setHandleQtMessages(true); qDebug() << "Using following log config file: " << usedConfigFile; - - Log4Qt::Logger::logger(QLatin1String("Main Logger"))->info("Logging started"); } int main(int argc, char *argv[]) @@ -82,6 +80,8 @@ int main(int argc, char *argv[]) // QCoreApplication for determining the .conf files locations initLogging(); + Log4Qt::Logger::logger(QLatin1String("Main Logger"))->info() << argv[0] << APP_VERSION; + watch::WatchConnector watch; DBusConnector dbus; VoiceCallManager voice; -- cgit v1.2.3