add error log for L2c