added write debug sql log example