Commit Graph
2 Commits
Author SHA1 Message Date
Willem van DreumelandLunny Xiao 5f234ce2a5 add missing copyright header (#992) 2017-02-21 08:46:14 +08:00
willemvdandLunny Xiao 8c2c7b802f Remove the default console logger when it is not set in the configuration (#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)
2017-01-17 14:02:35 +08:00