fix a bug in bamboo_logger.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>