Skip to content

[🐛 Bug]: Logs from video recorder do not respect the SE_LOG_TIMESTAMP env variable #2799

Open
@MJB222398

Description

@MJB222398

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions