mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 05:09:31 +01:00
704da08fdc
* Panic don't fatal on create new logger Fixes #5854 Signed-off-by: Andrew Thornton <art27@cantab.net> * partial broken * Update the logging infrastrcture Signed-off-by: Andrew Thornton <art27@cantab.net> * Reset the skip levels for Fatal and Error Signed-off-by: Andrew Thornton <art27@cantab.net> * broken ncsa * More log.Error fixes Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove nal * set log-levels to lowercase * Make console_test test all levels * switch to lowercased levels * OK now working * Fix vetting issues * Fix lint * Fix tests * change default logging to match current gitea * Improve log testing Signed-off-by: Andrew Thornton <art27@cantab.net> * reset error skip levels to 0 * Update documentation and access logger configuration * Redirect the router log back to gitea if redirect macaron log but also allow setting the log level - i.e. TRACE * Fix broken level caching * Refactor the router log * Add Router logger * Add colorizing options * Adjust router colors * Only create logger if they will be used * update app.ini.sample * rename Attribute ColorAttribute * Change from white to green for function * Set fatal/error levels * Restore initial trace logger * Fix Trace arguments in modules/auth/auth.go * Properly handle XORMLogger * Improve admin/config page * fix fmt * Add auto-compression of old logs * Update error log levels * Remove the unnecessary skip argument from Error, Fatal and Critical * Add stacktrace support * Fix tests * Remove x/sync from vendors? * Add stderr option to console logger * Use filepath.ToSlash to protect against Windows in tests * Remove prefixed underscores from names in colors.go * Remove not implemented database logger This was removed from Gogs on 4 Mar 2016 but left in the configuration since then. * Ensure that log paths are relative to ROOT_PATH * use path.Join * rename jsonConfig to logConfig * Rename "config" to "jsonConfig" to make it clearer * Requested changes * Requested changes: XormLogger * Try to color the windows terminal If successful default to colorizing the console logs * fixup * Colorize initially too * update vendor * Colorize logs on default and remove if this is not a colorizing logger * Fix documentation * fix test * Use go-isatty to detect if on windows we are on msys or cygwin * Fix spelling mistake * Add missing vendors * More changes * Rationalise the ANSI writer protection * Adjust colors on advice from @0x5c * Make Flags a comma separated list * Move to use the windows constant for ENABLE_VIRTUAL_TERMINAL_PROCESSING * Ensure matching is done on the non-colored message - to simpify EXPRESSION |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
access.go | ||
access_test.go | ||
action.go | ||
action_list.go | ||
action_test.go | ||
admin.go | ||
admin_test.go | ||
attachment.go | ||
attachment_test.go | ||
branches.go | ||
branches_test.go | ||
consistency.go | ||
error.go | ||
error_oauth2.go | ||
external_login_user.go | ||
git_diff.go | ||
git_diff_test.go | ||
gpg_key.go | ||
gpg_key_test.go | ||
graph.go | ||
graph_test.go | ||
helper.go | ||
issue.go | ||
issue_assignees.go | ||
issue_assignees_test.go | ||
issue_comment.go | ||
issue_comment_list.go | ||
issue_comment_test.go | ||
issue_dependency.go | ||
issue_dependency_test.go | ||
issue_label.go | ||
issue_label_test.go | ||
issue_list.go | ||
issue_list_test.go | ||
issue_lock.go | ||
issue_mail.go | ||
issue_milestone.go | ||
issue_milestone_test.go | ||
issue_reaction.go | ||
issue_reaction_test.go | ||
issue_stopwatch.go | ||
issue_stopwatch_test.go | ||
issue_test.go | ||
issue_tracked_time.go | ||
issue_tracked_time_test.go | ||
issue_user.go | ||
issue_user_test.go | ||
issue_watch.go | ||
issue_watch_test.go | ||
lfs.go | ||
lfs_lock.go | ||
login_source.go | ||
mail.go | ||
main_test.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
notification.go | ||
notification_test.go | ||
oauth2.go | ||
oauth2_application.go | ||
oauth2_application_test.go | ||
org.go | ||
org_team.go | ||
org_team_test.go | ||
org_test.go | ||
pull.go | ||
pull_test.go | ||
release.go | ||
release_test.go | ||
repo.go | ||
repo_activity.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_collaboration_test.go | ||
repo_indexer.go | ||
repo_issue.go | ||
repo_list.go | ||
repo_list_test.go | ||
repo_mirror.go | ||
repo_permission.go | ||
repo_permission_test.go | ||
repo_redirect.go | ||
repo_redirect_test.go | ||
repo_tag.go | ||
repo_test.go | ||
repo_unit.go | ||
repo_watch.go | ||
repo_watch_test.go | ||
review.go | ||
review_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
star.go | ||
star_test.go | ||
status.go | ||
status_test.go | ||
test_fixtures.go | ||
token.go | ||
token_test.go | ||
topic.go | ||
topic_test.go | ||
twofactor.go | ||
u2f.go | ||
u2f_test.go | ||
unit.go | ||
unit_tests.go | ||
update.go | ||
update_test.go | ||
upload.go | ||
user.go | ||
user_follow.go | ||
user_follow_test.go | ||
user_heatmap.go | ||
user_heatmap_test.go | ||
user_mail.go | ||
user_mail_test.go | ||
user_openid.go | ||
user_openid_test.go | ||
user_test.go | ||
webhook.go | ||
webhook_dingtalk.go | ||
webhook_discord.go | ||
webhook_slack.go | ||
webhook_test.go | ||
wiki.go | ||
wiki_test.go |