Files
OpenFlux/utils
Alexander4151andClaude Opus 4.8 7241e8959e logging: debug off by default; runtime toggle (perf)
Verbose logging was forced on in the iOS bridge, so every run paid for
per-packet Debugf (with ParsePacketInfo formatting). Default it off:

- utils.SetDebug(bool) toggles verbose at runtime.
- The iOS bridge no longer force-enables debug; OpenFluxSetDebug exposes the
  toggle, applied from a "Verbose log" switch in the app (default off, so the
  VPN extension and app run lean).
- Exit node is unchanged: it stays quiet unless --debug is passed (drop the
  flag for production to remove the per-packet logging cost).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GqZJxeewiSYYTHLG4z5Fdt
2026-09-11 16:57:46 +03:00
..