Skip to content

Conversation

@zeripath
Copy link
Contributor

Fix #6942

@zeripath zeripath added this to the 1.9.0 milestone May 14, 2019
@zeripath zeripath changed the title Stop colorizing files by default Stop colorizing log files by default May 14, 2019
@codecov-io
Copy link

codecov-io commented May 14, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@7dd9837). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #6949   +/-   ##
=========================================
  Coverage          ?   41.48%           
=========================================
  Files             ?      441           
  Lines             ?    59662           
  Branches          ?        0           
=========================================
  Hits              ?    24750           
  Misses            ?    31689           
  Partials          ?     3223
Impacted Files Coverage Δ
modules/setting/log.go 74.64% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7dd9837...7d6fd77. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 14, 2019
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 14, 2019
panic(err.Error())
}

logConfig["colorize"] = sec.Key("COLORIZE").MustBool(runtime.GOOS != "windows")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So file logs always have no colorize?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lafriks lafriks requested a review from lunny May 15, 2019 14:49
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 15, 2019
@zeripath zeripath merged commit 775a5a5 into go-gitea:master May 15, 2019
@zeripath zeripath deleted the stop-colorizing-file-logs branch May 20, 2019 15:36
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this pull request Jul 18, 2019
@zeripath zeripath mentioned this pull request Jul 31, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New colorized logging causes fail2ban to stop matching

6 participants