How to remove stack trace errors from Grid Hub/Node logs?

23 views
Skip to first unread message

Chris

unread,
Jun 12, 2024, 4:55:14 AMJun 12
to Selenium Users
I need to keep all messages and errors in console, but remove stack trace from errors.
I'm trying to use:
-Djava.util.logging.config.file=/opt/logging.properties
which contains:

handlers=java.util.logging.ConsoleHandler

java.util.logging.ConsoleHandler.level=INFO

java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter

java.util.logging.SimpleFormatter.format=%1$tF %1$tT.%1$tL %4$s: %3$s %5$s %n


this works in a different Java app that uses JUL for logging, but it has zero effect on Grid Logs.

SiKing

unread,
Jun 12, 2024, 1:29:22 PM (14 days ago) Jun 12
to Selenium Users

Chris

unread,
Jun 12, 2024, 3:16:02 PM (14 days ago) Jun 12
to Selenium Users
not really, I read all documentation and already experimented with some parameters. logging.properties should allow to control log format and contents, but it does not, for whatever reason.
Reply all
Reply to author
Forward
0 new messages