Skip to content

Commit 72753f6

Browse files
committed
only log connection error backtrace at debug level
1 parent 58e5934 commit 72753f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xpra/server/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,14 +1119,15 @@ def _new_connection(self, socktype: str, listener, handle: int = 0):
11191119

11201120
def new_conn_err(self, conn, sock, socktype: str, socket_info, packet_type: str, msg=None) -> None:
11211121
# not an xpra client
1122+
netlog("new_conn_err", exc_info=True)
11221123
log_fn = netlog.debug if packet_type == "http" else netlog.error
11231124
log_fn("Error: %s connection failed:", socktype)
11241125
if conn.remote:
11251126
log_fn(" packet from %s", pretty_socket(conn.remote))
11261127
if socket_info:
11271128
log_fn(" received on %s", pretty_socket(socket_info))
11281129
if packet_type:
1129-
log_fn(" this packet looks like a '%s' packet", packet_type, backtrace=True)
1130+
log_fn(" this packet looks like a '%s' packet", packet_type)
11301131
else:
11311132
log_fn(" invalid packet format, not an xpra client?")
11321133
if msg:

0 commit comments

Comments
 (0)