hugo command on the CLI now dropped the
--verboseLog flags and deprecated the
--debug flags. Instead, it now uses the
--logLevel as an indicator of verbosity. The
--logLevel flag can be set to
debug. The default seems to be
If you wish to log the output of
hugo you can refer to my post from last year about ways to pipe output to files in Bash.
As a theme developer you still have only ways to access WARN loglines via
warnf and ERROR loglines via
errorf. DEBUG and INFO loglines are not accessible from within a theme and belong to Hugo only. This is a bit of a bummer, but I guess it is what it is.
This post is part of #100DaysToOffload (total posts:70)