correct case needed for log level declaration of log object
continuing to forge ahead with the sql needed