Directly under “src” folder of Twist project create file named “commons-logging.properties” with “org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger” as file content.
After above change we could use -log and -debug options in selenium.server.options
Note: Above change will disable any log4j logging within that project, if any.
Comment
Directly under “src” folder of Twist project create file named “commons-logging.properties” with “org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger” as file content.
After above change we could use -log and -debug options in selenium.server.options
Note: Above change will disable any log4j logging within that project, if any.
Thanks. Is it possible to get the output from -log to be displayed in the console?
To see DEBUG information only in cosole
selenium.server.options = -port 4545 -proxyInjectionMode -debug
To see DEBUG information only in file (In console you would see only INFO messages, no DEBUG messages)
selenium.server.options = -port 4545 -proxyInjectionMode -log c:/log.txt
To see DEBUG information in console and log file,
selenium.server.options = -port 4545 -proxyInjectionMode -log c:/log.txt -debug