Change warning to warn on logs