Better log message.
Renamed warning to warn.