Comments (3)
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.
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.
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)
- NPE in SauceOnDemandTestListener with "SELENIUM_IS_LOCAL=false" HOT 1
- Error closing result stream session id is null when running testng tests in parallel HOT 1
- sauce-connect-plugin not allow two options configurations HOT 1
- Failing to Start Sauce Connect on start-sauceconnect HOT 3
- UNable to delete PID file causes subsequent invocations to fail until file is manually deleted. HOT 1
- Sauce Connect Maven Plugin is out of date HOT 2
- sauce-connect-plugin fails maven builds on JDK9 HOT 1
- maven sauce connect plugin not found in repo HOT 2
- NPE in sauce_testng's SauceOnDemandTestListener when running locally. HOT 1
- NPE in SauceConnectFourManager when running with sauce connect
- assertNotNull(driver) should be relocated to another test
- Clean up and enhance archetypes for JUnit and TestNG HOT 1
- Unit tests and code coverage not executing for new test class HOT 3
- Have our Sauce client set a session id property when instantiated
- Make all unit/integration/ui tests run in parallel HOT 1
- Improve Codacy static analysis checking so that it's relevant
- Add logging to this method public static JavaScriptInvokerImpl create(WebDriver driver)
- Add a SauceLabs.stopSession() method
- Enable code coverage metrics for the project that don't seem to be working
- Clean up folder architecture
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sauce-java.