Mailinglist Archive: zypp-commit (223 mails)

< Previous Next >
[zypp-commit] r10638 - /trunk/libzypp/zypp/sat/detail/PoolImpl.cc
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Tue, 22 Jul 2008 12:54:44 -0000
  • Message-id: <20080722125445.14C352A19D@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Tue Jul 22 14:54:43 2008
New Revision: 10638

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10638&view=rev
Log:
reduced SAT logging in verbose mode

Modified:
trunk/libzypp/zypp/sat/detail/PoolImpl.cc

Modified: trunk/libzypp/zypp/sat/detail/PoolImpl.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/sat/detail/PoolImpl.cc?rev=10638&r1=10637&r2=10638&view=diff
==============================================================================
--- trunk/libzypp/zypp/sat/detail/PoolImpl.cc (original)
+++ trunk/libzypp/zypp/sat/detail/PoolImpl.cc Tue Jul 22 14:54:43 2008
@@ -149,7 +149,11 @@
}
// initialialize logging
bool verbose = ( getenv("ZYPP_FULLLOG") ||
getenv("ZYPP_LIBSAT_FULLLOG") );
- ::pool_setdebuglevel( _pool, verbose ? 5 : 1 );
+ if (verbose)
+ ::pool_setdebuglevel( _pool, 2 );
+ else
+ ::pool_setdebugmask(_pool, SAT_DEBUG_STATS);
+
::pool_setdebugcallback( _pool, logSat, NULL );

// set namespace callback

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages