Make setting an environment key a audit log

This commit is contained in:
Joshua Harlow 2012-03-13 14:12:15 -07:00
parent f42f9d891f
commit 1c97c6ba06

View File

@ -30,7 +30,7 @@ def set(key, value):
#from http://docs.python.org/library/os.html
#Calling putenv() directly does not change os.environ, so it's better to modify os.environ.
if key is not None:
LOG.debug("Setting environment key [%s] to value [%s]" % (key, value))
LOG.audit("Setting environment key [%s] to value [%s]" % (key, value))
os.environ[str(key)] = str(value)