const std::string & /*message_r*/ );
virtual ~LineFormater() {}
};
-
+
public:
/** Assign a LineFormater.
* If you want to format loglines by yourself. NULL installs the
*/
void setLineFormater( const shared_ptr<LineFormater> & formater_r );
+ public:
/** Set path for the logfile.
* Permission for logfiles is set to 0640 unless an explicit mode_t
* value is given. An empty pathname turns off logging. <tt>"-"</tt>
}
if (runSolver) {
+ zypp::base::LogControl::TmpLineWriter tempRedirect;
zypp::base::LogControl::instance().logfile( dumpPath +"/y2log" );
zypp::base::LogControl::TmpExcessive excessive;
resolver.reset(true); // true = resetting all valid solverresults
resolver.resolvePool();
-
- zypp::base::LogControl::instance().logfile( "/var/log/YaST2/y2log" );
}
ResPool pool = resolver.pool();