Skip to content

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Dec 16, 2020

This caused some confusion in issue #460, since usually raw format strings aren't printed directly. Hopefully by directly logging that they are intended to be raw format strings, this will be more clear. Rate limited format strings now look like

[RATE LIMITED] format string "control: sendStatus: %s: %v"

Closes #460.

This caused some confusion in issue tailscale#460, since usually raw format
strings aren't printed directly. Hopefully by directly logging that
they are intended to be raw format strings, this will be more clear.
Rate limited format strings now look like:

  [RATE LIMITED] format string "control: sendStatus: %s: %v"

Closes tailscale#460.

Signed-off-by: Smitty <me@smitop.com>
Copy link
Member

@danderson danderson left a comment

Choose a reason for hiding this comment

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

Thanks! At some point soon we'll be reworking the rate limiting, but until then it's nice to make it less confusing.

@danderson danderson merged commit f0b0a62 into tailscale:main Dec 19, 2020
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.

Raw format strings in syslog

2 participants