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
libtailscale,android: toggle remote client logging without restarting
Switch the remote-logging toggle from the one-way process-wide
logtail.Disable kill switch to per-logger APIs added upstream:
Logger.SetEnabled for runtime flips, and Config.Disabled so the
first NewLogger call doesn't even emit the internal "logtail
started" banner when the user has opted out. Bumps go.mod to
tailscale.com 1e68a11721fd which includes both.
The setting now takes effect immediately with no restart required.
App.updateIsClientLoggingEnabled pushes the effective value (still
forced on while MDM is configured) to the backend, and the MDM
change receiver does the same on MDM transitions so an arriving
MDM profile forces logging back on live.
Also fix the inverted MDMSettings.isMDMConfigured check so it tracks
"MDM restrictions are set" rather than its inverse; without this the
prior commit silently did the opposite of what it claimed. Drop the
"changes require restarting the app to take effect" wording from the
settings subtitle and disable-confirmation dialog.
Updates #13174
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Copy file name to clipboardExpand all lines: android/src/main/res/values/strings.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -355,10 +355,10 @@
355
355
<stringname="use_tailscale_subnets_subtitle">Route traffic according to your network\'s rules. Some networks require this to access IP addresses that don\'t start with 100.x.y.z.</string>
<stringname="client_remote_logging_enabled_subtitle">Whether debug & opt-in flow logs are uploaded. Changes require restarting the app to take effect.</string>
358
+
<stringname="client_remote_logging_enabled_subtitle">Whether debug & opt-in flow logs are uploaded.</string>
359
359
<stringname="client_remote_logging_enabled_subtitle_mdm">Client logging is always enabled for devices under remote management.</string>
<stringname="client_remote_logging_disable_confirm_message">Disabling remote client logging will break Network Flow Logs if enabled and required by your tailnet admin, and will prevent Tailscale Support from being able to help debug problems with this device.\n\nChanges require restarting the app to take effect.</string>
361
+
<stringname="client_remote_logging_disable_confirm_message">Disabling remote client logging will break Network Flow Logs if enabled and required by your tailnet admin, and will prevent Tailscale Support from being able to help debug problems with this device.</string>
<stringname="specifies_a_device_name_to_be_used_instead_of_the_automatic_default">Specifies a device name to be used instead of the automatic default.</string>
0 commit comments