From 0525da81777b43a80f1467773571cece59ecbb07 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Thu, 26 Oct 2006 09:27:50 +0000 Subject: [PATCH] -cleanup log directory -switch back to "old" y2log --- zypp/solver/detail/Testcase.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zypp/solver/detail/Testcase.cc b/zypp/solver/detail/Testcase.cc index dd1684262..8f7bacacc 100644 --- a/zypp/solver/detail/Testcase.cc +++ b/zypp/solver/detail/Testcase.cc @@ -203,6 +203,8 @@ bool Testcase::createTestcase(Resolver & resolver) ERR << dumpPath << " is not a directory." << endl; return false; } + // remove old stuff + zypp::filesystem::clean_dir (dumpPath); } zypp::base::LogControl::instance().logfile( dumpPath +"/y2log" ); @@ -210,6 +212,8 @@ bool Testcase::createTestcase(Resolver & resolver) resolver.resolvePool(); + zypp::base::LogControl::instance().logfile( "/var/log/YaST2/y2log" ); + ResPool pool = resolver.pool(); SourceTable sourceTable; PoolItemList items_to_install; -- 2.34.1