diff --git a/cmd/magneticod/main.go b/cmd/magneticod/main.go index 1cfb1ed..f6ecc7f 100644 --- a/cmd/magneticod/main.go +++ b/cmd/magneticod/main.go @@ -60,7 +60,7 @@ func main() { return } - zap.L().Info("magneticod v0.7.0-beta2 has been started.") + zap.L().Info("magneticod v0.7.1 has been started.") zap.L().Info("Copyright (C) 2018 Mert Bora ALPER .") zap.L().Info("Dedicated to Cemile Binay, in whose hands I thrived.") zap.S().Infof("Compiled on %s", compiledOn) diff --git a/cmd/magneticow/main.go b/cmd/magneticow/main.go index 1785c94..4a27b71 100644 --- a/cmd/magneticow/main.go +++ b/cmd/magneticow/main.go @@ -60,13 +60,13 @@ func main() { defer logger.Sync() zap.ReplaceGlobals(logger) - zap.L().Info("magneticow v0.7.0-beta1 has been started.") + zap.L().Info("magneticow v0.7.1 has been started.") zap.L().Info("Copyright (C) 2018 Mert Bora ALPER .") zap.L().Info("Dedicated to Cemile Binay, in whose hands I thrived.") zap.S().Infof("Compiled on %s", compiledOn) if err := parseFlags(); err != nil { - zap.L().Error("Error while initializing", zap.Error(err)) + zap.S().Errorf("error while parsing flags: %s", err.Error()) return }