Comments (4)
@itsjwala I've tried a few options now, here's my initial assessment:
- setting
PERCY_LOGLEVEL
towarn
removes the download progress messaging, but also removes the otherinfo
-level messages we'd like to continue seeing (same issue as using--silent
flag) - moving the download of the chromium browser outside of the Percy install also works. However this is not ideal, as it requires us to monitor browser version changes when the package is upgraded (I could foresee the possibility that we forget the connection between percy & this download and get out of sync in the future)
- using the
PERCY_DEBUG
variable to whitelist justcore
andcore:browser
like the following value:PERCY_DEBUG="core,core:browser"
seems to be the closest to what I'm after -- it adds a line per test of percy messaging we didn't have before. that we don't want, but it maintains the rest of theinfo
level messaging we want to keep, and removes theinstall
debug level (and others) that we don't want to see.
Poking around in the logger source, maybe just an option to exclude the logger.progress
messaging would be the most exact solution, if anyone wants to address this as an enhancement - I don't know how common this particular logging issue is, perhaps its only an issue on Semaphore CI.
from cli.
There is no way to hide only these logs for now. You can set the PERCY_LOGLEVEL
env variable using something like cross-env
to suppress the logs.
One workaround is skipping the download altogether by downloading it on your CI yourself (ref doc)
from cli.
@samarsault thanks for the quick reply -- I will investigate these options!
from cli.
Hey @joshkg 👋
- does the link solve your issue?
- you may use
--silent
flag to silence these logs or usePERCY_DEBUG
env var to whitelist only certain packages to log.
from cli.
Related Issues (20)
- percy snapshot should offer a dump option for debugging HOT 2
- Fonts arent showing up in percy snapshots HOT 2
- Renaming snapshots without or with visual changes (target snapshot name)
- percy/cli v1.27 incompatible with percy-cypress HOT 8
- Allow per-snapshot configuration of discovery.networkIdleTimeout HOT 2
- storybook field is no longer working in the config file HOT 1
- v.1.26.3 breaks storybook config HOT 1
- Error: Navigation failed: Timed out waiting for the page load event - breaks our tests HOT 9
- 500 Internal Server Error - GET https://registry.npmjs.org/@percy%2fcli-config - KV GET failed: 401 Unauthorized HOT 2
- Please allow longer network idle timeouts HOT 2
- Cannot read properties of undefined (reading 'id') HOT 1
- Set browser prefers-color-scheme to test apps in dark mode HOT 1
- H
- [percy:core] Error : Timed out waiting for network requests to idle HOT 1
- Percy is not running, disabling snapshot HOT 4
- Browserstack: Build not created, Error: connect ECONNREFUSED HOT 3
- Bumping to different versions [Dependabot] HOT 1
- Reference Error: Excessive alias count indicates a resource exhaustion attack in percy url yaml with 360 url items HOT 2
- [percy] ParseError: Unexpected argument 'storybook'
- Percy exec fails binding to ipv6 HOT 2
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 cli.