[logging] fixed some errors;