Return-Path: X-Original-To: apmail-community-commits-archive@minotaur.apache.org Delivered-To: apmail-community-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 776B618D7F for ; Thu, 12 Nov 2015 14:36:11 +0000 (UTC) Received: (qmail 18470 invoked by uid 500); 12 Nov 2015 14:36:11 -0000 Delivered-To: apmail-community-commits-archive@community.apache.org Received: (qmail 18355 invoked by uid 500); 12 Nov 2015 14:36:11 -0000 Mailing-List: contact commits-help@community.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@community.apache.org Delivered-To: mailing list commits@community.apache.org Received: (qmail 18143 invoked by uid 99); 12 Nov 2015 14:36:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 14:36:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 107702C1F5B for ; Thu, 12 Nov 2015 14:36:11 +0000 (UTC) Date: Thu, 12 Nov 2015 14:36:11 +0000 (UTC) From: "Sebb (JIRA)" To: commits@community.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (COMDEV-162) Redirect cronjob standard output to log files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COMDEV-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb resolved COMDEV-162. ------------------------- Resolution: Fixed > Redirect cronjob standard output to log files > --------------------------------------------- > > Key: COMDEV-162 > URL: https://issues.apache.org/jira/browse/COMDEV-162 > Project: Community Development > Issue Type: Improvement > Components: Projects New, Reporter Tool > Reporter: Sebb > > At present, the projects.a.o and reporter.a.o cronjob output goes to the www-data mailbox. This is getting quite large, and is not particularly easy to view as all the jobs are in the same file. > I think it would be more useful to redirect the output to separate log files for each job in separate log directories e.g. under /var/logs. > This would allow the use of logrotate to manage the log files if required. > In order to make it easy to check the log files, it might be worth considering making the most recent ones available via the web. I don't think there is any private information in the logs, but this would need to be checked first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)