From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6D65013800E for ; Tue, 7 Aug 2012 06:41:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B041E0655; Tue, 7 Aug 2012 06:41:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0CE21E0655 for ; Tue, 7 Aug 2012 06:41:01 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E1A01B4012 for ; Tue, 7 Aug 2012 06:41:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4F281E5439 for ; Tue, 7 Aug 2012 06:40:59 +0000 (UTC) From: "Theo Chatzimichos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Chatzimichos" Message-ID: <1344321644.9e7eda5fce60c8eeb0d18d106222141db661ac7b.tampakrap@gentoo> Subject: [gentoo-commits] proj/planet-gentoo:master commit in: scripts/ X-VCS-Repository: proj/planet-gentoo X-VCS-Files: scripts/error-report X-VCS-Directories: scripts/ X-VCS-Committer: tampakrap X-VCS-Committer-Name: Theo Chatzimichos X-VCS-Revision: 9e7eda5fce60c8eeb0d18d106222141db661ac7b X-VCS-Branch: master Date: Tue, 7 Aug 2012 06:40:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 331a490a-faa0-490f-a815-1a8ff2a07734 X-Archives-Hash: 8c0cece53cf749e881c14322347c8024 commit: 9e7eda5fce60c8eeb0d18d106222141db661ac7b Author: Theo Chatzimichos gentoo org> AuthorDate: Tue Aug 7 06:40:44 2012 +0000 Commit: Theo Chatzimichos gentoo org> CommitDate: Tue Aug 7 06:40:44 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/planet-gentoo.git;a=commit;h=9e7eda5f Make it executable, and print a message on the instance running --- scripts/error-report | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/error-report b/scripts/error-report old mode 100644 new mode 100755 index ccb42eb..983c68d --- a/scripts/error-report +++ b/scripts/error-report @@ -4,5 +4,6 @@ # and email the planet admins with the result for instance in planet universe; do + echo "ERRORS in ${instance}" find /var/log/planet.gentoo.org/${instance} -type f -name "$(date +%Y-%m-%d)*" -exec grep "ERROR" {} \; | sort | uniq -c done