Manager: Tweak log size for Flamenco workers #61681

Closed
opened 2019-02-18 16:14:17 +01:00 by Francesco Siddi · 3 comments

When inspecting the log of a worker from the Manager, a browser tab containing the log is opened. The log can grow to a size where it's very hard to scroll to the bottom of the page (where the interesting content usually is).

I suggest to reduce the size of the log exposed to the user via the browser. This could be (re)loading in a dedicated interface, called "show log", or at the very least, trimmed to 1-2MB of text max.

When inspecting the log of a worker from the Manager, a browser tab containing the log is opened. The log can grow to a size where it's very hard to scroll to the bottom of the page (where the interesting content usually is). I suggest to reduce the size of the log exposed to the user via the browser. This could be (re)loading in a dedicated interface, called "show log", or at the very least, trimmed to 1-2MB of text max.
Sybren A. Stüvel was assigned by Francesco Siddi 2019-02-18 16:14:17 +01:00
Author
Owner

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

It now shows 5 KiB of 'head' and 10 KiB of 'tail', except when accessing the URL with WGet/Curl, in which case it downloads the entire log file. See log_server.go.

It now shows 5 KiB of 'head' and 10 KiB of 'tail', except when accessing the URL with WGet/Curl, in which case it downloads the entire log file. See [log_server.go](https://developer.blender.org/source/flamenco-manager/browse/master/flamenco/log_server.go).
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#61681
No description provided.