From 991ed156e0b22f2489f394ae08c196b3b9c61a7a Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Tue, 21 Jun 2011 17:46:58 +0200 Subject: added verbose output file to operation runner --- tools/operationrunner/operationrunner.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/operationrunner/operationrunner.cpp b/tools/operationrunner/operationrunner.cpp index 623c711c6..b5ddfd99c 100644 --- a/tools/operationrunner/operationrunner.cpp +++ b/tools/operationrunner/operationrunner.cpp @@ -107,8 +107,11 @@ int main(int argc, char **argv) QInstaller::init(); + QInstaller::VerboseWriter::instance()->setOutputStream(app.arguments().at(0) + QLatin1String(".txt")); + QInstaller::setVerbose( true ); + QString operationName = argumentList.takeFirst(); KDUpdater::UpdateOperation* const operation = KDUpdater::UpdateOperationFactory::instance().create(operationName); if (!operation) { -- cgit v1.2.3