More logging adjustments.

This commit is contained in:
Joshua Harlow
2012-02-09 15:14:45 -08:00
parent d516da8169
commit 09985287ba
2 changed files with 2 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ class PkgInstallComponent(ComponentBase):
for source in link_srcs:
link = links.get(source)
try:
LOG.info("Symlinking %s => %s" % (link, source))
self.tracewriter.symlink(source, link)
except OSError:
LOG.warn("Symlink %s => %s already exists." % (link, source))

View File

@@ -181,7 +181,7 @@ class HorizonInstaller(comp.PythonInstallComponent):
path = sh.joinpths(self.dash_dir, 'local')
if sh.isdir(path):
(user, group) = self._get_apache_user_group()
LOG.info("Changing ownership (recursively) of %s so that it can be used by %s - %s",
LOG.debug("Changing ownership (recursively) of %s so that it can be used by %s - %s",
path, user, group)
uid = sh.getuid(user)
gid = sh.getgid(group)