You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Brad Fitzpatrick 57dd247376 cmd/tailscaled, logpolicy, logtail: support log levels
Log levels can now be specified with "[v1] " or "[v2] " substrings
that are then stripped and filtered at the final logger. This follows
our existing "[unexpected]" etc convention and doesn't require a
wholesale reworking of our logging at the moment.

cmd/tailscaled then gets a new --verbose=N flag to take a log level
that controls what gets logged to stderr (and thus systemd, syslog,
etc). Logtail is unaffected by --verbose.

This commit doesn't add annotations to any existing log prints. That
is in the next commit.

Updates #924
Updates #282

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
..
cloner ipn: use cmd/cloner for Prefs.Clone 5 years ago
derper Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 5 years ago
microproxy cmd/microproxy: add -insecure flag 5 years ago
mkpkg cmd/mkpkg: support adding empty directories. 6 years ago
tailscale Merge branch 'main' into report-status-systemd 5 years ago
tailscaled cmd/tailscaled, logpolicy, logtail: support log levels 5 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 6 years ago