lifelogd: place environment variable setting near where we load it