diff --git a/src/xpra/client/mixins/remote_logging.py b/src/xpra/client/mixins/remote_logging.py index a11d881159..d4f6565c96 100644 --- a/src/xpra/client/mixins/remote_logging.py +++ b/src/xpra/client/mixins/remote_logging.py @@ -21,8 +21,10 @@ class RemoteLogging(object): def __init__(self): + self.client_supports_remote_logging = False self.in_remote_logging = False self.local_logging = None + self.log_both = False def init(self, opts): self.log_both = (opts.remote_logging or "").lower()=="both" diff --git a/src/xpra/client/ui_client_base.py b/src/xpra/client/ui_client_base.py index 2f6b951707..93d821ed99 100644 --- a/src/xpra/client/ui_client_base.py +++ b/src/xpra/client/ui_client_base.py @@ -33,7 +33,7 @@ from xpra.codecs.loader import load_codecs, codec_versions, has_codec, get_codec, PREFERED_ENCODING_ORDER, PROBLEMATIC_ENCODINGS from xpra.codecs.video_helper import getVideoHelper, NO_GFX_CSC_OPTIONS from xpra.version_util import full_version_str -from xpra.scripts.config import parse_bool_or_int, parse_bool +from xpra.scripts.config import parse_bool_or_int from xpra.net import compression, packet_encoding from xpra.child_reaper import reaper_cleanup from xpra.os_util import platform_name, bytestostr, monotonic_time, strtobytes, POSIX, BITS @@ -158,9 +158,7 @@ def __init__(self): self.client_supports_opengl = False self.client_supports_sharing = False - self.client_supports_remote_logging = False self.client_lock = False - self.log_both = False #helpers and associated flags: self.client_extras = None @@ -171,8 +169,6 @@ def __init__(self): self.kh_warning = False self.menu_helper = None self.tray = None - self.in_remote_logging = False - self.local_logging = None #state: self._on_handshake = [] @@ -206,8 +202,6 @@ def init(self, opts): self.client_supports_sharing = opts.sharing is True self.client_lock = opts.lock is True - self.log_both = (opts.remote_logging or "").lower()=="both" - self.client_supports_remote_logging = self.log_both or parse_bool("remote-logging", opts.remote_logging) #until we add the ability to choose decoders, use all of them: #(and default to non grahics card csc modules if not specified)