[PATCH v2 10/30] log: global: Rename warn_non_spl() and update the condition