Skip to content

Commit

Permalink
make it easier to parse log output
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21009 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 16, 2018
1 parent b43a226 commit f32b2bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/server/window/window_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def update_speed(self):
speed = max(0, self._fixed_min_speed, speed)
speed = int(min(99, speed))
self._current_speed = speed
statslog("update_speed() wid=%s, info=%s, speed=%i (target=%i)", self.wid, info, speed, target)
statslog("update_speed() speed=%2i (target=%2i) for wid=%i, info=%s", speed, target, self.wid, info)
self._encoding_speed_info = info
self._encoding_speed.append((monotonic_time(), speed))
ww, wh = self.window_dimensions
Expand Down Expand Up @@ -1040,7 +1040,7 @@ def update_quality(self):
quality = max(0, self._fixed_min_quality, quality)
quality = int(min(99, quality))
self._current_quality = quality
statslog("update_quality() wid=%i, info=%s, quality=%i (target=%i)", self.wid, info, quality, target)
statslog("update_quality() quality=%2i (target=%2i) for wid=%i, info=%s", quality, target, self.wid, info)
self._encoding_quality_info = info
self._encoding_quality.append((now, quality))
ww, wh = self.window_dimensions
Expand Down

0 comments on commit f32b2bf

Please sign in to comment.