I kept getting this annoying log message:
Warning: Single GUI Threadiong is enabled, FPS should be slower
Is there a reason logging is enabled by default? Using JBrowserDriver in an application forces me to e.g. disable the JBrowserDriver logging by adding the following code:
final String suppressedLoggerPackageName = JBrowserDriver.class.getPackage().getName();
final Logger logger = Logger.getLogger(suppressedLoggerPackageName);
logger.setLevel(Level.OFF);
Is there a better way to accomplish this?
Also calling Settings.builder().logger(null); does not work.
Finally I'm not sure what the warning is trying to tell me. I'm using this project with JBrowserDriver.
I kept getting this annoying log message:
Warning: Single GUI Threadiong is enabled, FPS should be slower
Is there a reason logging is enabled by default? UsingJBrowserDriver
in an application forces me to e.g. disable theJBrowserDriver
logging by adding the following code:Is there a better way to accomplish this?
Also calling
Settings.builder().logger(null);
does not work.Finally I'm not sure what the warning is trying to tell me. I'm using this project with
JBrowserDriver
.Related: https://github.com/MachinePublishers/jBrowserDriver/issues/356 https://github.com/MachinePublishers/jBrowserDriver/issues/175