Add environment logging