aboutsummaryrefslogtreecommitdiff
path: root/internal/conf/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/conf/log.go')
-rw-r--r--internal/conf/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/conf/log.go b/internal/conf/log.go
index e6865a41..bde739df 100644
--- a/internal/conf/log.go
+++ b/internal/conf/log.go
@@ -32,7 +32,7 @@ var Log *logConf
// argument "hookMode" is true, it only initializes the root path for log files.
// NOTE: Because we always create a console logger as the primary logger at init time,
// we need to remove it in case the user doesn't configure to use it after the logging
-// service is initalized.
+// service is initialized.
func initLogConf(cfg *ini.File, hookMode bool) (_ *logConf, hasConsole bool, _ error) {
rootPath := cfg.Section("log").Key("ROOT_PATH").MustString(filepath.Join(WorkDir(), "log"))
if hookMode {