Print debug log. Fixed a typo in bling.c.