Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 0B2A4D81E for ; Wed, 13 Mar 2013 22:22:10 +0000 (UTC) Received: (qmail 70886 invoked by uid 500); 13 Mar 2013 22:22:07 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 70820 invoked by uid 500); 13 Mar 2013 22:22:06 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 70593 invoked by uid 99); 13 Mar 2013 22:22:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 22:22:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8DE0C163C2; Wed, 13 Mar 2013 22:22:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bfederle@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [39/50] git commit: refs/heads/ui-multiple-vlan-ranges - CLOUDSTACK-1651 - point agent scripts to correct logging location, due to move of /var/log/cloud to /var/log/cloudstack Message-Id: <20130313222206.8DE0C163C2@tyr.zones.apache.org> Date: Wed, 13 Mar 2013 22:22:06 +0000 (UTC) CLOUDSTACK-1651 - point agent scripts to correct logging location, due to move of /var/log/cloud to /var/log/cloudstack Signed-off-by: Marcus Sorensen 1363112422 -0600 Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0ca85659 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0ca85659 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0ca85659 Branch: refs/heads/ui-multiple-vlan-ranges Commit: 0ca85659a66bbf722bd02d35ee899e8d074e6fbe Parents: cd70c8d Author: Marcus Sorensen Authored: Tue Mar 12 12:20:22 2013 -0600 Committer: Marcus Sorensen Committed: Tue Mar 12 12:20:22 2013 -0600 ---------------------------------------------------------------------- packaging/centos63/cloud-ipallocator.rc | 2 +- scripts/storage/qcow2/resizevolume.sh | 4 ++-- scripts/vm/network/security_group.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0ca85659/packaging/centos63/cloud-ipallocator.rc ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud-ipallocator.rc b/packaging/centos63/cloud-ipallocator.rc index ffeffa3..08cf9c8 100755 --- a/packaging/centos63/cloud-ipallocator.rc +++ b/packaging/centos63/cloud-ipallocator.rc @@ -30,7 +30,7 @@ whatami=cloud-external-ipallocator SHORTNAME="$whatami" PIDFILE=/var/run/"$whatami".pid LOCKFILE=/var/lock/subsys/"$SHORTNAME" -LOGFILE=/var/log/cloud/ipallocator/ipallocator.log +LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log PROGNAME="External IPAllocator" unset OPTIONS http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0ca85659/scripts/storage/qcow2/resizevolume.sh ---------------------------------------------------------------------- diff --git a/scripts/storage/qcow2/resizevolume.sh b/scripts/storage/qcow2/resizevolume.sh index d15513e..6a5c91d 100755 --- a/scripts/storage/qcow2/resizevolume.sh +++ b/scripts/storage/qcow2/resizevolume.sh @@ -68,7 +68,7 @@ log() { if [ $shouldwelog -eq 1 ] then - echo "$d - $1" >> /var/log/cloud/agent/resizevolume.log + echo "$d - $1" >> /var/log/cloudstack/agent/resizevolume.log fi } @@ -237,7 +237,7 @@ do esac done -shouldwelog=1 #set this to 1 while debugging to get output in /var/log/cloud/agent/resizevolume.log +shouldwelog=1 #set this to 1 while debugging to get output in /var/log/cloudstack/agent/resizevolume.log if [ "$ptype" == "CLVM" ] then http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0ca85659/scripts/vm/network/security_group.py ---------------------------------------------------------------------- diff --git a/scripts/vm/network/security_group.py b/scripts/vm/network/security_group.py index 83d7ad1..ed4180a 100755 --- a/scripts/vm/network/security_group.py +++ b/scripts/vm/network/security_group.py @@ -797,7 +797,7 @@ def addFWFramework(brname): return False if __name__ == '__main__': - logging.basicConfig(filename="/var/log/cloud/security_group.log", format="%(asctime)s - %(message)s", level=logging.DEBUG) + logging.basicConfig(filename="/var/log/cloudstack/agent/security_group.log", format="%(asctime)s - %(message)s", level=logging.DEBUG) parser = OptionParser() parser.add_option("--vmname", dest="vmName") parser.add_option("--vmip", dest="vmIP")