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

feat: logging cleanup #2057

Closed
wants to merge 4 commits into from
Closed

Conversation

cryptk
Copy link
Collaborator

@cryptk cryptk commented Apr 17, 2024

Description

This is a continuation of the logging cleanups that I have been working on, trying to break them up across several smaller PRs to make it easier to review.

This one also includes a small refactor in core/http/ctx/fiber.go to clean up some unnecessary nesting (inverting the logic in the conditional to push the happy path left).

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com>
Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com>
Copy link

netlify bot commented Apr 17, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit 87d9265
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/66201c501173490008ed9917

@cryptk
Copy link
Collaborator Author

cryptk commented Apr 17, 2024

I think this is all I will do in this PR, I'll wait for this one to be reviewed and merged before I do any more cleanup work.

Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com>
Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com>
@cryptk
Copy link
Collaborator Author

cryptk commented Apr 17, 2024

Going to close this and I'll re-do it once the craziness in #2056 and #2062 are dealt with

@cryptk cryptk closed this Apr 17, 2024
@cryptk cryptk deleted the feat_logging_cleanup branch April 17, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant