Log patchEnvironment

Signed-off-by: Ross Allan <rallanpcl@gmail.com>