log_helper changed to produce compact logs