Use correct warning level log function
Merge branch 'log-warn-fix'