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