From 11c24095e5ee0291c6d8dbd54dbc163bbd14e56d Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Thu, 17 Dec 2009 11:38:05 +0100 Subject: [PATCH] Ease logfile analysis by letting zypper log it's commandline. --- src/main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 4df428b..c32c936 100644 --- a/src/main.cc +++ b/src/main.cc @@ -2,7 +2,7 @@ #include //#include -#include "zypp/base/Logger.h" +#include "zypp/base/LogTools.h" #include "zypp/base/LogControl.h" #include "main.h" @@ -73,6 +73,7 @@ int main(int argc, char **argv) zypp::base::LogControl::instance().logfile( logfile ); MIL << "===== Hi, me zypper " VERSION " built " << __DATE__ << " " << __TIME__ << " =====" << endl; + zypp::dumpRange( MIL, argv, argv+argc, "===== ", "'", "' '", "'", " =====" ) << endl; OutNormal out(Out::QUIET); -- 2.7.4