[fix] add logging