Set filenames properly
This commit is contained in:
@@ -29,15 +29,15 @@ func MainApp(configPath string) {
|
||||
log := logutil.NewLogger(logPath)
|
||||
zurglog := log.Named("zurg")
|
||||
|
||||
if log.Level() == zapcore.DebugLevel {
|
||||
zurglog.Infof("debug logging is enabled; if you are not debugging please set LOG_LEVEL=info in your environment")
|
||||
}
|
||||
|
||||
zurglog.Debugf("PID: %d", os.Getpid())
|
||||
zurglog.Infof("Version: %s", version.GetVersion())
|
||||
zurglog.Infof("GitCommit: %s", version.GetGitCommit())
|
||||
zurglog.Infof("BuiltAt: %s", version.GetBuiltAt())
|
||||
|
||||
if log.Level() == zapcore.DebugLevel {
|
||||
zurglog.Infof("Debug logging is enabled; if you are not debugging please set LOG_LEVEL=info in your environment")
|
||||
}
|
||||
|
||||
config, configErr := config.LoadZurgConfig(configPath, log.Named("config"))
|
||||
if configErr != nil {
|
||||
zurglog.Errorf("Config failed to load: %v", configErr)
|
||||
|
||||
Reference in New Issue
Block a user