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

reduce log level for 4xx errors #1285

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

codemonkey800
Copy link
Collaborator

Description

Reduces log level for 4xx errors to reduce the amount of frontend alarms we've been getting

Demos

Example of log message:

{
  "level": "warn",
  "date": "2023-10-06T21:07:57.375Z",
  "type": "server",
  "node_env": "development",
  "env": "staging",
  "name": "HubAPIClient.ts",
  "message": "Error sending request",
  "error": "Request failed with status code 400",
  "method": "GET",
  "path": "/plugins/napari-derp[]",
  "url": "/plugins/napari-derp[]",
  "status": 400
}

@codemonkey800 codemonkey800 added the improvement Release Label: Used for categorizing improvements in automated CI release notes label Oct 7, 2023
@codemonkey800 codemonkey800 merged commit 39c6739 into main Oct 9, 2023
13 checks passed
@codemonkey800 codemonkey800 deleted the jeremy/reduce-log-level-for-4xx-error branch October 9, 2023 19:55
@github-actions
Copy link

This PR has been included in release: v23.10.1, see the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Release Label: Used for categorizing improvements in automated CI release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants