Fix security issues where sensitive data is logged

- sql errors/profiling resulted in verbose, info, or error level log messages containing the db values, which is intended to be secure & encrypted