logger reimplemented