Move packstack logs to /var/log/packstack

Move packstack and puppet logs to a more proper
location.

Change-Id: I83ce52865302738706425b0ca661ec46a9a445bc
Fixes: rhbz#999923
This commit is contained in:
Ivan Chavero
2013-11-15 21:51:31 -07:00
committed by Martin Magr
parent 791443ab44
commit 075eb3f5a8
3 changed files with 52 additions and 24 deletions

View File

@@ -36,7 +36,7 @@ def initLogging (debug):
try:
logFilename = "openstack-setup.log"
logFile = os.path.join(basedefs.DIR_LOG, logFilename)
logFile = os.path.join(basedefs.LOG_DIR, logFilename)
# Create the log file with specific permissions, puppet has a habbit of putting
# passwords in logs