From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SF4Ec-0008IS-4w for garchives@archives.gentoo.org; Tue, 03 Apr 2012 13:57:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B9ADE0D0F; Tue, 3 Apr 2012 13:57:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9A2C6E0D03 for ; Tue, 3 Apr 2012 13:55:53 +0000 (UTC) Received: from [192.168.3.7] (cpe-74-77-238-39.buffalo.res.rr.com [74.77.238.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: blueness) by smtp.gentoo.org (Postfix) with ESMTPSA id C1DE51B4005 for ; Tue, 3 Apr 2012 13:55:52 +0000 (UTC) Message-ID: <4F7B0166.8020003@gentoo.org> Date: Tue, 03 Apr 2012 09:55:50 -0400 From: "Anthony G. Basile" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120326 Thunderbird/10.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: Gentoo Development Subject: [gentoo-dev] RFC: pax-utils.eclass, downgrade from elog to einfo to avoid flooding logs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ee2d3c9e-149d-4f1c-9404-0d76ed392e92 X-Archives-Hash: 9dc9a75b130577185c7574d151d4a0fd Hi everyone, pax-utils.eclass generates a lot of log messages when marking a large number of files, for example icedtea-bin. These messages are not that useful, so I propose downgrading all elog's to einfo's to avoid flooding. See bug #407503. If there are no objections, I'll commit the following in a few days: --- pax-utils.eclass.orig 2012-04-03 09:29:41.000000000 -0400 +++ pax-utils.eclass 2012-04-03 09:30:49.000000000 -0400 @@ -58,8 +58,8 @@ # Try paxctl, then scanelf. paxctl is preferred. if type -p paxctl> /dev/null&& has PT ${PAX_MARKINGS}; then # Try paxctl, the upstream supported tool. - elog "PT PaX marking -${flags}" - _pax_list_files elog "$@" + einfo "PT PaX marking -${flags}" + _pax_list_files einfo "$@" for f in "$@"; do # First, try modifying the existing PAX_FLAGS header paxctl -q${flags} "${f}"&& continue @@ -91,8 +91,8 @@ elif type -p scanelf> /dev/null&& [[ ${PAX_MARKINGS} != "none" ]]; then # Try scanelf, the Gentoo swiss-army knife ELF utility # Currently this sets PT if it can, no option to control what it does. - elog "Fallback PaX marking -${flags}" - _pax_list_files elog "$@" + einfo "Fallback PaX marking -${flags}" + _pax_list_files einfo "$@" scanelf -Xxz ${flags} "$@" elif [[ ${PAX_MARKINGS} != "none" ]]; then # Out of options! -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail : blueness@gentoo.org GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535 GnuPG ID : D0455535