added type 'comment' to logger