Improve the warning log