Added ability to log environment variables