docker-selenium
docker-selenium copied to clipboard
[🐛 Bug]: Logs from video recorder do not respect the SE_LOG_TIMESTAMP env variable
What happened?
Hub and node containers allow you to set the timestamp format for logs using the SE_LOG_TIMESTAMP environment variable. However this does not seem to be supported in video containers. Furthermore, if you are using in node video recording then any logs in that node container that are from the video recorder do not obey the SE_LOG_TIMESTAMP variable. So you end up with logs of a mixed timestamp format which is messy and hard to read.
Video logs in the node container should obey this variable. Would also be nice if the video container supported this variable too
Command used to start Selenium Grid with Docker (or Kubernetes)
N/A
Relevant log output
2025-04-17 14:13:13,997 [video.recorder] - Video recording in progress
2025-04-17 14:13:15,005 [video.recorder] - Video recording in progress
14:13:15.327 INFO [LocalNode.stopTimedOutSession] - Session id 3f68c14543c3e232b7341e2de068a0ad is stopping on demand...
14:13:15.327 INFO [SessionSlot.stop] - Stopping session 3f68c14543c3e232b7341e2de068a0ad
Operating System
Ubuntu 20.04
Docker Selenium version (image tag)
4.31.0-20250404
Selenium Grid chart version (chart version)
No response
@MJB222398, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-* label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer label.
Thank you!