garris / garris/BackstopJS

[Feature] Log Level and noisy puppeteer logs

Open
#1,063 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

I'm looking to implement improved logging for backstop Backstop. My main issue with backstop logging is the logs coming from "Browser Console Log". Maybe there should just be a config option to turn these off or on, like a verbose flag.

There other option is to implement logging levels which may be too heavy of a solution. I've read up on the discussion over #822 and have some questions. 1. When a level is set, should logging only occur at that level or should logging occur at that level and also at other levels "below" it 2. Should all logs use the special logger in logger.js? 3. what would logLevel: 'OFF' do - would it turn logging output off or would it log outputs at all levels?

How should we deal with the main issue of noisy browser console logs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.