logging error fix.

Signed-off-by: dannygod <dannygodii@gmail.com>