mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Add --debug option to be improved on over time
Why: * first time using hugo I got very little info from --verbose output but I noticed there is quite a lot of useful DEBUG logging * asked for in other issues like https://github.com/gohugoio/hugo/issues/3514 This change addreses the need by: * adding a simple --debug flag which simply turns on debug level in stdout and logoutput if enabled.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c1a5da9777
commit
aee2b06780
@@ -132,4 +132,5 @@ func loadDefaultSettingsFor(v *viper.Viper) {
|
||||
v.SetDefault("enableGitInfo", false)
|
||||
v.SetDefault("ignoreFiles", make([]string, 0))
|
||||
v.SetDefault("disableAliases", false)
|
||||
v.SetDefault("debug", false)
|
||||
}
|
||||
|
Reference in New Issue
Block a user