Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKassio Borges <kborges@gitlab.com>2022-04-27 17:12:35 +0300
committerKassio Borges <kborges@gitlab.com>2022-04-27 17:12:35 +0300
commit25ba2b00e0dcd2ff5bfca7cce200af4889c978d1 (patch)
tree321df18104c56eadb882141a520b947a18383e5a
parent38a9a40bca0007be1cb80b6ccb4cb3573b63d79e (diff)
Remove duplicated logging initializationkassio/remove-extra-config-logging
-rw-r--r--app.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/app.go b/app.go
index 4f0d0c82..31212460 100644
--- a/app.go
+++ b/app.go
@@ -402,11 +402,6 @@ func runApp(config *cfg.Config) {
a := theApp{config: config, source: source}
- err = logging.ConfigureLogging(a.config.Log.Format, a.config.Log.Verbose)
- if err != nil {
- log.WithError(err).Fatal("Failed to initialize logging")
- }
-
if config.ArtifactsServer.URL != "" {
a.Artifact = artifact.New(config.ArtifactsServer.URL, config.ArtifactsServer.TimeoutSeconds, config.General.Domain)
}