You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds support for the service logging debug commands, which streams logging endpoint errors.
All Submissions:
Have you followed the guidelines in our Contributing document?
Have you checked to ensure there aren't other open Pull Requests for the same update/change?
New Feature Submissions:
Does your submission pass tests?
make test TEST_ARGS="-run TestParseLoggingError ./pkg/commands/service/logging/debug"
ok github.com/fastly/cli/pkg/commands/service/logging/debug 1.017s
Changes to Core Features:
Have you written new tests for your core changes, as applicable?
Have you successfully run tests with your changes locally?
Example Output:
INFO: Streaming logging endpoint errors for service <SID>
14:55:10 | Broken Log | Get "https://my-broken.logging.org/.well-known/fastly/logging/challenge": lookup my-broken.logging.org. on 127.0.0.1:53: no such host
14:55:21 | Broken Log | Get "https://my-broken.logging.org/.well-known/fastly/logging/challenge": lookup my-broken.logging.org. on 127.0.0.1:53: no such host
14:55:24 | Broken Log | Get "https://my-broken.logging.org/.well-known/fastly/logging/challenge": lookup my-broken.logging.org. on 127.0.0.1:53: no such host
Note: Claude Code was leveraged to build this feature
* main:
build(deps): bump the go-dependencies group with 5 updates (fastly#1726)
release 14.3.1 (fastly#1725)
Restore permission for trusted publishing (fastly#1724)
Release 14.3.0 (fastly#1723)
[CDTOOL-1193] Support for Logging Endpoint Errors (fastly#1721)
chore(deps): bump go-fastly to 14.2.0 (fastly#1722)
Add --json / -j flag to all stats subcommands (fastly#1719)
build(deps): bump the go-dependencies group with 4 updates (fastly#1720)
Add "auth revoke" subcommand for token revocation (fastly#1717)
Restrict GitHub Actions workflow permissions to least privilege (fastly#1718)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change summary
This PR adds support for the
service logging debugcommands, which streams logging endpoint errors.All Submissions:
New Feature Submissions:
Changes to Core Features:
Example Output:
Note: Claude Code was leveraged to build this feature