Shows warning message in log when relevant and only once.