Enable SQL statement logging.