reset_loss_log function

Reset log for loss information