* Roger Leigh <[EMAIL PROTECTED]> [2006-03-08 12:30]: > The attached patch allows the logging to be rather more selective, so > all the trivial commands are ignored. > > Please could you try this? If there are any other messages you want > disabling, it's just a matter of changing 1 or 0 at the end of the > *_command() call.
If you apply the patch below, then you can consider _command("tbm whining", priority) to be of priority==0, i.e. I'll shut up. ;-) I don't care about the first line: | /usr/bin/apt-get CHROOT_APT_OPTIONS --only-source -q -d source kxmleditor=1.1.4-2.1 2>&1 </dev/null | Reading package lists... | Building dependency tree... --- /usr/bin/sbuild 2006-03-08 12:28:49.000000000 +0000 +++ sbuild 2006-03-08 19:53:00.000000000 +0000 @@ -481,7 +481,7 @@ print PLOG "Fetching source files...\n"; @made = @{$entries{$version}}; - my $command = get_apt_command("$conf::apt_get", "--only-source -q -d source $pkg=$version 2>&1 </dev/null", $main::username, 1); + my $command = get_apt_command("$conf::apt_get", "--only-source -q -d source $pkg=$version 2>&1 </dev/null", $main::username, 0); if (!open( PIPE, "$command |" )) { print PLOG "Can't open pipe to $conf::apt_get: $!\n"; return ("ERROR", @made); -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]