(MAINT) Add debug log messages for env caching

This commit just adds a couple of debug-level log messages that
provide some insight into when environments are cached, and
when the cache entries are evicted.