Make WARN the new default log log level
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 1 Nov 2018 21:27:42 +0000 (22:27 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 3 Nov 2018 11:06:23 +0000 (12:06 +0100)
commit4b7d3e57a40214a1269eda59731aa22a8f4463dd
tree0b258d8dc0c022081a03deac706a84c9dd4e90db
parent4f3c0959635776278f5cc6ab7e5e262fdd3e1219
Make WARN the new default log log level

This commit also pulls down the log level for a set of WARN statements to INFO. There should be no ERRORs or WARNINGs in a regular Hugo build. That is the story about the Boy Who Cried Wolf.

Since the WARN log is now more visible, this commit also improves on some of them, most notable the "layout not found", which now would look something like this:

```bash
WARN 2018/11/02 09:02:18 Found no layout for "home", language "en", output format "CSS": create a template below /layouts with one of these filenames: index.en.css.css, home.en.css.css, list.en.css.css, index.css.css, home.css.css, list.css.css, index.en.css, home.en.css, list.en.css, index.css, home.css, list.css, _default/index.en.css.css, _default/home.en.css.css, _default/list.en.css.css, _default/index.css.css, _default/home.css.css, _default/list.css.css, _default/index.en.css, _default/home.en.css, _default/list.en.css, _default/index.css, _default/home.css, _default/list.css
```

Fixes #5203
commands/hugo.go
hugolib/alias.go
hugolib/page.go
hugolib/page_content.go
hugolib/pagebundler_capture.go
hugolib/site.go
i18n/i18n.go
tpl/data/data.go