Skip to content

[πŸ› Bug]: selenium-server v4.28.0 writes log on stdout instead of dedicated log fileΒ #15176

@zefkide

Description

@zefkide

What happened?

Hello

I'm running selenium grid in hub and nodes architecture. Configuration is in toml files. Logging section is (pretty standard) :

[logging]
log-encoding = "UTF-8"
log-file = "/var/log/selenium/sel4hub.log"
log-level = "INFO"
plain-logs = true
structured-logs = false

When I start the hub or a node with the jar v4.27 the output goes to log file /var/log/selenium/sel4hub.log but when I use version v28 the output goes to stdout and nothing is wrote in the log file.

HUB : java -jar selenium-server-4.28.0.jar hub --config config.toml
NODE : java -jar selenium-server-4.28.0.jar node --config config.toml
java -version
openjdk version "17.0.13" 2024-10-15 LTS

Best regards,
Marius

How can we reproduce the issue?

java -jar selenium-server-4.28.0.jar standalone --log /var/log/selenium/test.log

Relevant log output

log goes to stdout

Operating System

RH9

Selenium version

4.28.0

What are the browser(s) and version(s) where you see this issue?

chrome 132.0.6834.110

What are the browser driver(s) and version(s) where you see this issue?

132.0.6834.110

Are you using Selenium Grid?

4.28.0

Metadata

Metadata

Assignees

Labels

C-javaJava BindingsI-defectSomething is not working as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions