Commit 0d8adb44 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Port the rest of Akonadi from akDebug to qCDebug

parent 08186db0
......@@ -5,6 +5,7 @@ include_directories(${Akonadi_SOURCE_DIR}/src/akonadicontrol
macro(add_unit_test _source)
set(_test ${_source}
${Akonadi_BINARY_DIR}/src/akonadicontrol/akonadicontrol_debug.cpp
${Akonadi_SOURCE_DIR}/src/akonadicontrol/agenttype.cpp
)
get_filename_component(_name ${_source} NAME_WE)
......
......@@ -58,8 +58,8 @@ public:
try {
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -24,7 +24,6 @@
#include "fakeakonadiserver.h"
#include "fakedatastore.h"
#include <shared/aktest.h>
#include <shared/akdebug.h>
#include "entities.h"
#include "collectionreferencemanager.h"
#include "dbinitializer.h"
......@@ -52,8 +51,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
initializer.createResource("testresource");
......
......@@ -24,7 +24,6 @@
#include "fakeakonadiserver.h"
#include "dbinitializer.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include <private/scope_p.h>
......@@ -44,8 +43,8 @@ public:
try {
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -17,8 +17,8 @@
02110-1301, USA.
*/
#include "dbinitializer.h"
#include "akonadiserver_debug.h"
#include <shared/akdebug.h>
#include <storage/querybuilder.h>
#include <storage/datastore.h>
......
......@@ -196,11 +196,11 @@
<!-- Call .insert() //-->
if (!<xsl:value-of select="$variable" />.insert()) {
akError() &lt;&lt; "Failed to insert <xsl:value-of select="$variable" /> into database";
akError() &lt;&lt; "DB Error:" &lt;&lt; FakeDataStore::self()->database().lastError().text();
qWarning() &lt;&lt; "Failed to insert <xsl:value-of select="$variable" /> into database";
qWarning() &lt;&lt; "DB Error:" &lt;&lt; FakeDataStore::self()->database().lastError().text();
return false;
}
akDebug() &lt;&lt; "<xsl:value-of select="local-name()" /> '<xsl:choose>
qDebug() &lt;&lt; "<xsl:value-of select="local-name()" /> '<xsl:choose>
<xsl:when test="local-name() = 'PimItem'">
<xsl:value-of select="$table/@remoteId" />
</xsl:when>
......@@ -307,7 +307,6 @@
* Do not edit! All changes made to it will be lost.
*/
#include &lt;shared/akdebug.h&gt;
#include "dbpopulator.h"
#include "entities.h"
#include "fakedatastore.h"
......@@ -377,7 +376,7 @@ bool DbPopulator::run()
</xsl:call-template>
</xsl:for-each>
akDebug() &lt;&lt; "Database successfully populated";
qDebug() &lt;&lt; "Database successfully populated";
return true;
}
......
......@@ -20,7 +20,6 @@
#include "fakeclient.h"
#include "fakeakonadiserver.h"
#include <shared/akdebug.h>
#include <private/protocol_p.h>
#include <QTest>
......@@ -164,7 +163,7 @@ void FakeClient::run()
connect(mSocket, &QIODevice::readyRead, this, &FakeClient::dataAvailable);
connect(mSocket, &QLocalSocket::disconnected, this, &FakeClient::connectionLost);
if (!mSocket->waitForConnected()) {
akFatal() << "Failed to connect to FakeAkonadiServer";
qFatal("Failed to connect to FakeAkonadiServer");
}
mStream.setDevice(mSocket);
......
......@@ -77,7 +77,7 @@ bool FakeDataStore::init()
if (mPopulateDb) {
DbPopulator dbPopulator;
if (!dbPopulator.run()) {
akError() << "Failed to populate database";
qWarning() << "Failed to populate database";
return false;
}
}
......
......@@ -24,7 +24,6 @@
#include "fakeakonadiserver.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include "dbinitializer.h"
......@@ -51,8 +50,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -23,7 +23,6 @@
#include "fakeakonadiserver.h"
#include <shared/aktest.h>
#include <shared/akdebug.h>
#include "entities.h"
#include <private/scope_p.h>
......@@ -45,8 +44,8 @@ public:
try {
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -26,7 +26,6 @@
#include "fakeakonadiserver.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include "dbinitializer.h"
#include <storage/storagedebugger.h>
......@@ -48,8 +47,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
{
MimeType mt(QLatin1String("mimetype1"));
......
......@@ -23,7 +23,6 @@
#include "fakeakonadiserver.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include <private/scope_p.h>
......@@ -46,8 +45,8 @@ public:
try {
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -21,7 +21,6 @@
#include "fakeakonadiserver.h"
#include "fakeconnection.h"
#include "akdebug.h"
#include "aktest.h"
#include "entities.h"
......@@ -56,8 +55,8 @@ public:
try {
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -24,7 +24,6 @@
#include "fakeakonadiserver.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include "dbinitializer.h"
......@@ -68,8 +67,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qDebug() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
RelationType type;
......
......@@ -19,7 +19,6 @@
#include "fakeakonadiserver.h"
#include "handler/searchhelper.h"
#include "akdebug.h"
#include "aktest.h"
#include <entities.h>
......@@ -43,8 +42,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -24,7 +24,6 @@
#include "fakeakonadiserver.h"
#include "aktest.h"
#include "akdebug.h"
#include "entities.h"
#include "dbinitializer.h"
......@@ -73,8 +72,8 @@ public:
FakeAkonadiServer::instance()->setPopulateDb(false);
FakeAkonadiServer::instance()->init();
} catch (const FakeAkonadiServerException &e) {
akError() << "Server exception: " << e.what();
akFatal() << "Fake Akonadi Server failed to start up, aborting test";
qWarning() << "Server exception: " << e.what();
qFatal("Fake Akonadi Server failed to start up, aborting test");
}
}
......
......@@ -17,6 +17,7 @@
02110-1301, USA.
*/
#include "agentpluginloader.h"
#include "akonadiagentserver_debug.h"
#include <private/xdgbasedirs_p.h>
#include <shared/akdebug.h>
......@@ -37,7 +38,7 @@ QPluginLoader *AgentPluginLoader::load(const QString &pluginName)
{
const QString pluginFile = XdgBaseDirs::findPluginFile(pluginName);
if (pluginFile.isEmpty()) {
akError() << Q_FUNC_INFO << "plugin file:" << pluginName << "not found!";
qCWarning(AKONADIAGENTSERVER_LOG) << "plugin file:" << pluginName << "not found!";
return 0;
}
......@@ -46,7 +47,7 @@ QPluginLoader *AgentPluginLoader::load(const QString &pluginName)
} else {
QPluginLoader *loader = new QPluginLoader(pluginFile);
if (!loader->load()) {
akError() << Q_FUNC_INFO << "Failed to load agent: " << loader->errorString();
qCWarning(AKONADIAGENTSERVER_LOG) << "Failed to load agent: " << loader->errorString();
delete loader;
return 0;
}
......
......@@ -23,7 +23,6 @@
#include <private/xdgbasedirs_p.h>
#include <private/dbus_p.h>
#include <shared/akdebug.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
......@@ -65,7 +64,7 @@ bool AgentServer::started(const QString &identifier) const
void AgentServer::startAgent(const QString &identifier, const QString &typeIdentifier, const QString &fileName)
{
akDebug() << Q_FUNC_INFO << identifier << typeIdentifier << fileName;
qCDebug(AKONADIAGENTSERVER_LOG) << identifier << typeIdentifier << fileName;
//First try to load it staticly
Q_FOREACH (QObject *plugin, QPluginLoader::staticInstances()) {
......
......@@ -21,7 +21,6 @@
#include "akonadiagentserver_debug.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QPluginLoader>
#include <QWidget> // Needed for WId
......
......@@ -18,11 +18,11 @@
*/
#include "agentserver.h"
#include "akonadiagentserver_debug.h"
#include <private/dbus_p.h>
#include <shared/akapplication.h>
#include <shared/akdebug.h>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusConnectionInterface>
......@@ -37,14 +37,14 @@ int main(int argc, char **argv)
qApp->setQuitOnLastWindowClosed(false);
if (!QDBusConnection::sessionBus().interface()->isServiceRegistered(Akonadi::DBus::serviceName(Akonadi::DBus::ControlLock))) {
akError() << "Akonadi control process not found - aborting.";
akFatal() << "If you started akonadi_agent_server manually, try 'akonadictl start' instead.";
qCCritical(AKONADIAGENTSERVER_LOG) << "Akonadi control process not found - aborting.";
qFatal("If you started akonadi_agent_server manually, try 'akonadictl start' instead.");
}
new Akonadi::AgentServer(&app);
if (!QDBusConnection::sessionBus().registerService(Akonadi::DBus::serviceName(Akonadi::DBus::AgentServer))) {
akFatal() << "Unable to connect to dbus service: " << QDBusConnection::sessionBus().lastError().message();
qFatal("Unable to connect to dbus service: %s", qPrintable(QDBusConnection::sessionBus().lastError().message()));
}
return app.exec();
......
......@@ -13,6 +13,8 @@ set(control_SRCS
processcontrol.cpp
)
ecm_qt_declare_logging_category(control_SRCS HEADER akonadicontrol_debug.h IDENTIFIER AKONADICONTROL_LOG CATEGORY_NAME log_akonadicontrol)
qt5_add_dbus_adaptor(control_SRCS ${Akonadi_SOURCE_DIR}/src/interfaces/org.freedesktop.Akonadi.AgentManager.xml agentmanager.h AgentManager)
qt5_add_dbus_adaptor(control_SRCS ${Akonadi_SOURCE_DIR}/src/interfaces/org.freedesktop.Akonadi.ControlManager.xml controlmanager.h ControlManager)
qt5_add_dbus_adaptor(control_SRCS ${Akonadi_SOURCE_DIR}/src/interfaces/org.freedesktop.Akonadi.AgentManagerInternal.xml agentmanager.h AgentManager)
......
......@@ -18,11 +18,11 @@
*/
#include "agentinstance.h"
#include "akonadicontrol_debug.h"
#include "agenttype.h"
#include "agentmanager.h"
#include <shared/akdebug.h>
#include <private/xdgbasedirs_p.h>
AgentInstance::AgentInstance(AgentManager *manager)
......@@ -210,7 +210,7 @@ void AgentInstance::refreshResourceStatus()
void AgentInstance::errorHandler(const QDBusError &error)
{
//avoid using the server tracer, can result in D-BUS lockups
akError() << QStringLiteral("D-Bus communication error '%1': '%2'").arg(error.name(), error.message()) ;
qCCritical(AKONADICONTROL_LOG) << QStringLiteral("D-Bus communication error '%1': '%2'").arg(error.name(), error.message()) ;
// TODO try again after some time, esp. on timeout errors
}
......@@ -221,8 +221,9 @@ T *AgentInstance::findInterface(Akonadi::DBus::AgentType agentType, const char *
QLatin1String(path), QDBusConnection::sessionBus(), this);
if (!iface || !iface->isValid()) {
akError() << Q_FUNC_INFO << "Cannot connect to agent instance with identifier" << mIdentifier
<< ", error message:" << (iface ? iface->lastError().message() : QString());
qCCritical(AKONADICONTROL_LOG) << Q_FUNC_INFO << "Cannot connect to agent instance with identifier"
<< mIdentifier << ", error message:"
<< (iface ? iface->lastError().message() : QString());
delete iface;
return 0;
}
......
This diff is collapsed.
......@@ -21,9 +21,9 @@
#include "agenttype.h"
#include "processcontrol.h"
#include "akonadicontrol_debug.h"
#include <private/xdgbasedirs_p.h>
#include <shared/akdebug.h>
using namespace Akonadi;
......@@ -49,7 +49,7 @@ bool AgentProcessInstance::start(const AgentType &agentInfo)
? XdgBaseDirs::findExecutableFile(agentInfo.exec) : agentInfo.exec;
if (executable.isEmpty()) {
akError() << Q_FUNC_INFO << "Unable to find agent executable" << agentInfo.exec;
qCWarning(AKONADICONTROL_LOG) << "Unable to find agent executable" << agentInfo.exec;
return false;
}
......
......@@ -20,8 +20,7 @@
#include "agentserverinterface.h"
#include "agenttype.h"
#include <shared/akdebug.h>
#include "akonadicontrol_debug.h"
#include <private/dbus_p.h>
......@@ -52,7 +51,7 @@ bool AgentThreadInstance::start(const AgentType &agentInfo)
org::freedesktop::Akonadi::AgentServer agentServer(Akonadi::DBus::serviceName(Akonadi::DBus::AgentServer),
QStringLiteral("/AgentServer"), QDBusConnection::sessionBus());
if (!agentServer.isValid()) {
akDebug() << "AgentServer not up (yet?)";
qCDebug(AKONADICONTROL_LOG) << "AgentServer not up (yet?)";
return false;
}
......
......@@ -19,12 +19,11 @@
#include "agenttype.h"
#include "agentmanager.h"
#include "akonadicontrol_debug.h"
#include <private/standarddirs_p.h>
#include <private/capabilities_p.h>
#include <shared/akdebug.h>
#include <KConfigGroup>
#include <KDesktopFile>
......@@ -77,15 +76,15 @@ bool AgentType::load(const QString &fileName, AgentManager *manager)
} else if (method.compare(QLatin1String("AgentLauncher"), Qt::CaseInsensitive) == 0) {
launchMethod = Launcher;
} else if (!method.isEmpty()) {
akError() << Q_FUNC_INFO << "Invalid exec method:" << method << "falling back to AgentProcess";
qCWarning(AKONADICONTROL_LOG) << "Invalid exec method:" << method << "falling back to AgentProcess";
}
if (identifier.isEmpty()) {
akError() << Q_FUNC_INFO << "Agent desktop file" << fileName << "contains empty identifier";
qCWarning(AKONADICONTROL_LOG) << "Agent desktop file" << fileName << "contains empty identifier";
return false;
}
if (exec.isEmpty()) {
akError() << Q_FUNC_INFO << "Agent desktop file" << fileName << "contains empty Exec entry";
qCWarning(AKONADICONTROL_LOG) << "Agent desktop file" << fileName << "contains empty Exec entry";
return false;
}
......
......@@ -20,10 +20,10 @@
#include "agentmanager.h"
#include "controlmanager.h"
#include "processcontrol.h"
#include "akonadicontrol_debug.h"
#include <shared/akapplication.h>
#include <shared/akcrash.h>
#include <shared/akdebug.h>
#include <private/dbus_p.h>
......@@ -60,16 +60,16 @@ int main(int argc, char **argv)
// We couldn't register. Most likely, it's already running.
const QString lastError = QDBusConnection::sessionBus().lastError().message();
if (lastError.isEmpty()) {
akError() << "Unable to register service as" << Akonadi::DBus::serviceName(Akonadi::DBus::ControlLock) << "Maybe it's already running?";
qCWarning(AKONADICONTROL_LOG) << "Unable to register service as" << Akonadi::DBus::serviceName(Akonadi::DBus::ControlLock) << "Maybe it's already running?";
} else {
akError() << "Unable to register service as" << Akonadi::DBus::serviceName(Akonadi::DBus::ControlLock) << "Error was:" << lastError;
qCWarning(AKONADICONTROL_LOG) << "Unable to register service as" << Akonadi::DBus::serviceName(Akonadi::DBus::ControlLock) << "Error was:" << lastError;
}
return -1;
}
// older Akonadi server versions don't use the lock service yet, so check if one is already running before we try to start another one
if (QDBusConnection::sessionBus().interface()->isServiceRegistered(Akonadi::DBus::serviceName(Akonadi::DBus::Control))) {
akError() << "Another Akonadi control process is already running.";
qCWarning(AKONADICONTROL_LOG) << "Another Akonadi control process is already running.";
return -1;
}
......
......@@ -18,14 +18,13 @@
***************************************************************************/
#include "processcontrol.h"
#include "akonadicontrol_debug.h"
#include <private/instance_p.h>
#include <shared/akapplication.h>
#include <shared/akdebug.h>
#include <private/instance_p.h>
#include <QtCore/QDebug>
#include <QtCore/QTimer>
#include <QtDebug>
#ifdef Q_OS_UNIX
#include <sys/types.h>
......@@ -104,7 +103,7 @@ void ProcessControl::slotError(QProcess::ProcessError error)
break;
}
akError() << "ProcessControl: Application" << qPrintable(mApplication) << "stopped unexpectedly (" << mProcess.errorString() << ")";
qCWarning(AKONADICONTROL_LOG) << "ProcessControl: Application" << mApplication << "stopped unexpectedly (" << mProcess.errorString() << ")";
}
void ProcessControl::slotFinished(int exitCode, QProcess::ExitStatus exitStatus)
......@@ -113,29 +112,29 @@ void ProcessControl::slotFinished(int exitCode, QProcess::ExitStatus exitStatus)
if (mPolicy == RestartOnCrash) {
// don't try to start an unstartable application
if (!mFailedToStart && mCrashCount <= s_maxCrashCount) {
qWarning("Application '%s' crashed! %d restarts left.", qPrintable(mApplication), s_maxCrashCount - mCrashCount);
qCWarning(AKONADICONTROL_LOG, "Application '%s' crashed! %d restarts left.", qPrintable(mApplication), s_maxCrashCount - mCrashCount);
start();
Q_EMIT restarted();
} else {
if (mFailedToStart) {
qWarning("Application '%s' failed to start!", qPrintable(mApplication));
qCWarning(AKONADICONTROL_LOG, "Application '%s' failed to start!", qPrintable(mApplication));
} else {
qWarning("Application '%s' crashed too often. Giving up!", qPrintable(mApplication));
qCWarning(AKONADICONTROL_LOG, "Application '%s' crashed too often. Giving up!", qPrintable(mApplication));
}
mPolicy = StopOnCrash;
Q_EMIT unableToStart();
return;
}
} else {
qWarning("Application '%s' crashed. No restart!", qPrintable(mApplication));
qCWarning(AKONADICONTROL_LOG, "Application '%s' crashed. No restart!", qPrintable(mApplication));
}
} else {
if (exitCode != 0) {
qWarning("ProcessControl: Application '%s' returned with exit code %d (%s)",
qCWarning(AKONADICONTROL_LOG, "ProcessControl: Application '%s' returned with exit code %d (%s)",
qPrintable(mApplication), exitCode, qPrintable(mProcess.errorString()));
if (mPolicy == RestartOnCrash) {
if (mCrashCount > s_maxCrashCount) {
qWarning() << mApplication << "crashed too often and will not be restarted!";
qCWarning(AKONADICONTROL_LOG) << mApplication << "crashed too often and will not be restarted!";
mPolicy = StopOnCrash;
Q_EMIT unableToStart();
return;
......@@ -150,10 +149,10 @@ void ProcessControl::slotFinished(int exitCode, QProcess::ExitStatus exitStatus)
} else {
if (mRestartOnceOnExit) {
mRestartOnceOnExit = false;
qWarning("Restarting application '%s'.", qPrintable(mApplication));
qCWarning(AKONADICONTROL_LOG, "Restarting application '%s'.", qPrintable(mApplication));
start();
} else {
qWarning("Application '%s' exited normally...", qPrintable(mApplication));
qCWarning(AKONADICONTROL_LOG, "Application '%s' exited normally...", qPrintable(mApplication));
Q_EMIT unableToStart();
}
}
......@@ -173,39 +172,40 @@ static bool listContains(const QStringList &list, const QString &pattern)
void ProcessControl::start()
{
#ifdef Q_OS_UNIX
QString agentValgrind = getEnv("AKONADI_VALGRIND");
QString agentValgrind = akGetEnv("AKONADI_VALGRIND");
if (!agentValgrind.isEmpty() && (mApplication.contains(agentValgrind) || listContains(mArguments, agentValgrind))) {
mArguments.prepend(mApplication);
const QString originalArguments = mArguments.join(QString::fromLocal8Bit(" "));
mApplication = QString::fromLocal8Bit("valgrind");
const QString valgrindSkin = getEnv("AKONADI_VALGRIND_SKIN", QString::fromLocal8Bit("memcheck"));
const QString valgrindSkin = akGetEnv("AKONADI_VALGRIND_SKIN", QString::fromLocal8Bit("memcheck"));
mArguments.prepend(QLatin1String("--tool=") + valgrindSkin);
const QString valgrindOptions = getEnv("AKONADI_VALGRIND_OPTIONS");
const QString valgrindOptions = akGetEnv("AKONADI_VALGRIND_OPTIONS");
if (!valgrindOptions.isEmpty()) {
mArguments = valgrindOptions.split(QLatin1Char(' '), QString::SkipEmptyParts) << mArguments;
}
akDebug();
akDebug() << "============================================================";
akDebug() << "ProcessControl: Valgrinding process" << originalArguments;