added logger statements for environment variables