new line and flush in ~log_base