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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user