Make setting an environment key a audit log
This commit is contained in:
parent
f42f9d891f
commit
1c97c6ba06
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user