diff --git a/api/geth_backend.go b/api/geth_backend.go index 2397f04d52..e2c84ff713 100644 --- a/api/geth_backend.go +++ b/api/geth_backend.go @@ -2595,6 +2595,10 @@ func (b *GethStatusBackend) Logout() error { return nil } +// switchToPreLoginLog switches to global pre-login logging settings. +// This log is profile-independent and should be enabled by default, +// including in release builds, to help diagnose login issues. +// related issue: https://github.com/status-im/status-mobile/issues/21501 func (b *GethStatusBackend) switchToPreLoginLog() error { err := logutils.ZapLogger().Sync() if err != nil {