added sqlLog for sql logging