1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/console
catborise db1db4cb32 fix(logging): the web workers rotate the panel's log without losing lines
Every gunicorn worker had its own RotatingFileHandler on the panel's log.
Once one rotated it, the others went on writing into the renamed file and
rotated again in turn: the log then held the lines of one worker, and the
others' went into the old files and were deleted with them. The handler
is now concurrent-log-handler's, which rotates under a lock file and
reopens the log after another process rotated it.

That handler keeps no file open, so socketiod's copy of its stderr can be
fd 3, the number a serial console worker logs to: dup2 onto itself kept
it close-on-exec and the worker failed to start. It is made inheritable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 13:48:14 +03:00
..
layouts feat(console): typed text follows the VM's keyboard layout 2026-10-27 12:23:32 +03:00
migrations Add app 2015-02-27 14:25:41 +02:00
templates chore(console): the console pages load no jQuery 2026-11-05 12:37:51 +03:00
tests fix(console): a VNC session ends when its host drops off the network 2026-11-10 11:12:21 +03:00
__init__.py Add app 2015-02-27 14:25:41 +02:00
models.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
novncd fix(console): a VNC session ends when its host drops off the network 2026-11-10 11:12:21 +03:00
refusals.py fix(i18n): refusals and checks users read are translated 2026-11-06 23:48:53 +03:00
socketiod fix(logging): the web workers rotate the panel's log without losing lines 2026-11-10 13:48:14 +03:00
sshtunnels.py fix(console): a VNC console stays open while its screen does not change 2026-11-01 16:18:34 +03:00
tokens.py fix(console): a session that a password change ended opens no console 2026-11-08 20:47:27 +03:00
views.py fix(console,computes): an unreachable host is named as the cause, not an empty list 2026-11-06 23:08:11 +03:00