log: fix impl of Warning
Merge pull request #1068 from bcwaldon/fix-log-warning

log: fix impl of Warning