Skip to content

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Jan 13, 2021

Here's an example log line in the new format:

[RATE LIMITED] format string "open-conn-track: timeout opening %v; no associated peer node" (example: "open-conn-track: timeout opening ([ip] => [ip]); no associated peer node")

This should make debugging logging issues a bit easier, and give more context as to why something was rate limited. Including an example was first mentioned at #1110 (comment).

edit: updated example

Copy link
Contributor

@josharian josharian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me with one tweak...

Here's an example log line in the new format:
    [RATE LIMITED] format string "open-conn-track: timeout opening %v; no associated peer node" (example: "open-conn-track: timeout opening ([ip] => [ip]); no associated peer node")
This should make debugging logging issues a bit easier, and give more
context as to why something was rate limited. This change was proposed
in a comment on tailscale#1110.

Signed-off-by: Smitty <me@smitop.com>
@josharian josharian merged commit 2bf49dd into tailscale:main Jan 13, 2021
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.

2 participants