Mogrus initialization fix, gitea PRs, regexp fix.

Fixed Mogrus initialization to pass log level. Configuration to
follow.

OpenSAPS now fully working with Gitea's pull requests.

Fixed URL/URL names regexp for Gitlab and Gitea to include "+" in
them.
This commit is contained in:
2017-11-11 13:00:50 +05:00
parent c9a111c832
commit e969b7018d
3 changed files with 443 additions and 290 deletions

View File

@@ -50,7 +50,7 @@ func (c *Context) Initialize() {
l := mogrus.New()
l.Initialize()
c.Log = l.CreateLogger("opensaps")
c.Log.CreateOutput("stdout", os.Stdout, true)
c.Log.CreateOutput("stdout", os.Stdout, true, "debug")
c.Flagger = flagger.New(c.Log)
c.Flagger.Initialize()