Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the default console logger when it is not set in the configuration #960

Merged
merged 1 commit into from
Feb 18, 2017

Conversation

lunny
Copy link
Member

@lunny lunny commented Feb 16, 2017

backport from #602

  • Remove the default console logger when it is not set in the configuration

  • Added comment to new function (lint failure)

  • update based on PR comments (code style)

  • code style fix (thanks bkcsoft)

  • check if logger exists based on the l.outputs (like in l.DelLogger) instead of adapter, otherwise panic when reinstalling gitea (since the output adapter still exist, without outputs)

…tion (go-gitea#602)

* Remove the default console logger when it is not set in the configuration

* Added comment to new function (lint failure)

* update based on PR comments (code style)

* code style fix (thanks bkcsoft)

* check if logger exists based on the l.outputs (like in l.DelLogger) instead of adapter, otherwise panic when reinstalling gitea (since the output adapter still exist, without outputs)
@lunny lunny added the type/bug label Feb 16, 2017
@lunny lunny added this to the 1.0.2 milestone Feb 16, 2017
@appleboy
Copy link
Member

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 16, 2017
@thibaultmeyer
Copy link
Contributor

LGTM

@tboerger tboerger 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 Feb 18, 2017
@lunny lunny merged commit 3121a7a into go-gitea:release/v1.0 Feb 18, 2017
@tboerger tboerger added the backport/done All backports for this PR have been created label Feb 21, 2017
@lunny lunny deleted the lunny/console_logger branch April 19, 2017 05:46
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created 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.

5 participants