Turn some verbose messages into debug messages (#27408)
This commit is contained in:
parent
d862507bcf
commit
c8daa7218d
@ -1022,7 +1022,7 @@ def _ensure_locked(self, lock_type, pkg):
|
|||||||
tty.debug(msg.format('Upgrading to', desc, pkg_id, timeout))
|
tty.debug(msg.format('Upgrading to', desc, pkg_id, timeout))
|
||||||
op = 'upgrade to'
|
op = 'upgrade to'
|
||||||
lock.upgrade_read_to_write(timeout)
|
lock.upgrade_read_to_write(timeout)
|
||||||
tty.verbose('{0} is now {1} locked'.format(pkg_id, lock_type))
|
tty.debug('{0} is now {1} locked'.format(pkg_id, lock_type))
|
||||||
|
|
||||||
except (lk.LockDowngradeError, lk.LockTimeoutError) as exc:
|
except (lk.LockDowngradeError, lk.LockTimeoutError) as exc:
|
||||||
tty.debug(err.format(op, desc, pkg_id, exc.__class__.__name__,
|
tty.debug(err.format(op, desc, pkg_id, exc.__class__.__name__,
|
||||||
@ -1254,7 +1254,7 @@ def _push_task(self, task):
|
|||||||
# Remove any associated build task since its sequence will change
|
# Remove any associated build task since its sequence will change
|
||||||
self._remove_task(task.pkg_id)
|
self._remove_task(task.pkg_id)
|
||||||
desc = 'Queueing' if task.attempts == 0 else 'Requeueing'
|
desc = 'Queueing' if task.attempts == 0 else 'Requeueing'
|
||||||
tty.verbose(msg.format(desc, task.pkg_id, task.status))
|
tty.debug(msg.format(desc, task.pkg_id, task.status))
|
||||||
|
|
||||||
# Now add the new task to the queue with a new sequence number to
|
# Now add the new task to the queue with a new sequence number to
|
||||||
# ensure it is the last entry popped with the same priority. This
|
# ensure it is the last entry popped with the same priority. This
|
||||||
@ -1276,7 +1276,7 @@ def _release_lock(self, pkg_id):
|
|||||||
ltype, lock = self.locks[pkg_id]
|
ltype, lock = self.locks[pkg_id]
|
||||||
if lock is not None:
|
if lock is not None:
|
||||||
try:
|
try:
|
||||||
tty.verbose(msg.format(ltype, pkg_id))
|
tty.debug(msg.format(ltype, pkg_id))
|
||||||
if ltype == 'read':
|
if ltype == 'read':
|
||||||
lock.release_read()
|
lock.release_read()
|
||||||
else:
|
else:
|
||||||
@ -1296,7 +1296,7 @@ def _remove_task(self, pkg_id):
|
|||||||
pkg_id (str): identifier for the package to be removed
|
pkg_id (str): identifier for the package to be removed
|
||||||
"""
|
"""
|
||||||
if pkg_id in self.build_tasks:
|
if pkg_id in self.build_tasks:
|
||||||
tty.verbose('Removing build task for {0} from list'
|
tty.debug('Removing build task for {0} from list'
|
||||||
.format(pkg_id))
|
.format(pkg_id))
|
||||||
task = self.build_tasks.pop(pkg_id)
|
task = self.build_tasks.pop(pkg_id)
|
||||||
task.status = STATUS_REMOVED
|
task.status = STATUS_REMOVED
|
||||||
@ -1381,7 +1381,7 @@ def _update_failed(self, task, mark=False, exc=None):
|
|||||||
self._update_failed(dep_task, mark)
|
self._update_failed(dep_task, mark)
|
||||||
self._remove_task(dep_id)
|
self._remove_task(dep_id)
|
||||||
else:
|
else:
|
||||||
tty.verbose('No build task for {0} to skip since {1} failed'
|
tty.debug('No build task for {0} to skip since {1} failed'
|
||||||
.format(dep_id, pkg_id))
|
.format(dep_id, pkg_id))
|
||||||
|
|
||||||
def _update_installed(self, task):
|
def _update_installed(self, task):
|
||||||
@ -1511,7 +1511,7 @@ def install(self):
|
|||||||
|
|
||||||
pkg, pkg_id, spec = task.pkg, task.pkg_id, task.pkg.spec
|
pkg, pkg_id, spec = task.pkg, task.pkg_id, task.pkg.spec
|
||||||
term_title.set('Processing {0}'.format(pkg.name))
|
term_title.set('Processing {0}'.format(pkg.name))
|
||||||
tty.verbose('Processing {0}: task={1}'.format(pkg_id, task))
|
tty.debug('Processing {0}: task={1}'.format(pkg_id, task))
|
||||||
# Ensure that the current spec has NO uninstalled dependencies,
|
# Ensure that the current spec has NO uninstalled dependencies,
|
||||||
# which is assumed to be reflected directly in its priority.
|
# which is assumed to be reflected directly in its priority.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user