Skip to content

Commit 0ca8565

Browse files
author
Marcus Sorensen
committed
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 <marcus@betterservers.com> 1363112422 -0600
1 parent cd70c8d commit 0ca8565

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packaging/centos63/cloud-ipallocator.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ whatami=cloud-external-ipallocator
3030
SHORTNAME="$whatami"
3131
PIDFILE=/var/run/"$whatami".pid
3232
LOCKFILE=/var/lock/subsys/"$SHORTNAME"
33-
LOGFILE=/var/log/cloud/ipallocator/ipallocator.log
33+
LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log
3434
PROGNAME="External IPAllocator"
3535

3636
unset OPTIONS

scripts/storage/qcow2/resizevolume.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ log() {
6868

6969
if [ $shouldwelog -eq 1 ]
7070
then
71-
echo "$d - $1" >> /var/log/cloud/agent/resizevolume.log
71+
echo "$d - $1" >> /var/log/cloudstack/agent/resizevolume.log
7272
fi
7373
}
7474

@@ -237,7 +237,7 @@ do
237237
esac
238238
done
239239

240-
shouldwelog=1 #set this to 1 while debugging to get output in /var/log/cloud/agent/resizevolume.log
240+
shouldwelog=1 #set this to 1 while debugging to get output in /var/log/cloudstack/agent/resizevolume.log
241241

242242
if [ "$ptype" == "CLVM" ]
243243
then

scripts/vm/network/security_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def addFWFramework(brname):
797797
return False
798798

799799
if __name__ == '__main__':
800-
logging.basicConfig(filename="/var/log/cloud/security_group.log", format="%(asctime)s - %(message)s", level=logging.DEBUG)
800+
logging.basicConfig(filename="/var/log/cloudstack/agent/security_group.log", format="%(asctime)s - %(message)s", level=logging.DEBUG)
801801
parser = OptionParser()
802802
parser.add_option("--vmname", dest="vmName")
803803
parser.add_option("--vmip", dest="vmIP")

0 commit comments

Comments
 (0)