In this PR, most of the severity of logging should be ERROR, or even FATAL if it should never happen.