Git Product home page Git Product logo

Comments (3)

rossrowe avatar rossrowe commented on August 14, 2024

Hi, thanks for your feedback. I'll take a look into how we can improve the configurability of the logging of Sauce Connect...the GET/POST requests are all logged from within Sauce Connect itself and I'm not sure if it provides a mechanism for changing the log level, but I'll take a look. The Maven plugin is an offshoot of the Sauce Jenkins plugin, which was logging the Sauce Connect messages to the system log rather than the build output, so configurability of the logging messages wasn't really an issue, however I agree that the Maven plugin should provide some more flexibility.

Cheers,

Ross

from sauce-java.

rossrowe avatar rossrowe commented on August 14, 2024

Hi, I've released version 1.0.19 of the Sauce Connect Maven plugin which supports an additional 'quietMode' configuration option, eg.

 <plugin>
            <groupId>com.saucelabs.maven.plugin</groupId>
            <artifactId>sauce-connect-plugin</artifactId>
            <version>1.0.19-SNAPSHOT</version>
            <configuration>
                <sauceUsername>YOUR_SAUCE_USERNAME</sauceUsername>
                <sauceAccessKey>YOUR_SAUCE_ACCESS_KEY</sauceAccessKey>
                <quietMode>true</quietMode>
            </configuration>
            <executions>
                <execution>
                    <id>start-sauceconnct</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                        <goal>start-sauceconnect</goal>
                    </goals>
                </execution>
                <execution>
                    <id>stop-sauceconnect</id>
                    <phase>post-integration-test</phase>
                    <goals>
                        <goal>stop-sauceconnect</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

When quietMode is set to true, the plugin will suppress the output of Sauce Connect process.

Please let me know how this goes, and whether you have any further issues.

Cheers,

Ross

from sauce-java.

ostewart avatar ostewart commented on August 14, 2024

This meets our needs and is MUCH better. It might also be helpful to have a systemProperties configuration element in order to add system properties to the subprocess (as it's done in the SureFire Plugin, for example). Assuming the output I've been seeing is controllable by system properties, this would allow us to dial up the logging a bit if we're seeing issues, but hopefully filter out more of the noise.

As it stands with the quiteMode setting, all the annoying verbosity is gone, though, so I'm happy with this result. Thanks!

from sauce-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.