Feature Requests

Use this forum to post things that you would like to see in future versions of Twist

This is a public Discussion Area  publicRSS

Post

    James O'Sullivan
    Selenium -log support
    Post posted February 16, 2009 by James O'Sullivan
    6280 Views, 3 Comment
    Topic:
    Selenium -log support
    Body:
    I’d like to see support for -log. Thanks!

    Comment

    • selvan
      posted February 17, 2009 by selvan

      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.

    • James O'Sullivan
      posted March 4, 2009 by James O'Sullivan

      Thanks.  Is it possible to get the output from -log to be displayed in the console?

    • selvan
      posted March 5, 2009 by selvan

      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