Added logging to env vars