Author: jkupec Date: Mon Jun 2 15:16:09 2008 New Revision: 10298 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10298&view=rev Log: - log zypper version _after_ logger is set up Modified: trunk/zypper/src/zypper-main.cc Modified: trunk/zypper/src/zypper-main.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-main.cc?rev=10298&r1=10297&r2=10298&view=diff ============================================================================== --- trunk/zypper/src/zypper-main.cc (original) +++ trunk/zypper/src/zypper-main.cc Mon Jun 2 15:16:09 2008 @@ -53,7 +53,6 @@ int main(int argc, char **argv) { - MIL << "Hi, me zypper " VERSION " built " << __DATE__ << " " << __TIME__ << endl; struct Bye { ~Bye() { MIL << "Exiting main()" << endl; @@ -71,6 +70,8 @@ logfile = ZYPPER_LOG; zypp::base::LogControl::instance().logfile( logfile ); + MIL << "Hi, me zypper " VERSION " built " << __DATE__ << " " << __TIME__ << endl; + if (::signal(SIGINT, signal_handler) == SIG_ERR) cerr << "Failed to set SIGINT handler." << endl; if (::signal(SIGTERM, signal_handler) == SIG_ERR) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org