Disable logging in the production environment

This PR is in response to the discussion in #23 regarding memory leak issues with long-running scripts that utilize caching. It resolves the issue by turning off the logging of queries in the production environment, instead logging calls and hits only.