consist the log on err