Coder Social home page Coder Social logo

Comments (3)

Jonahss avatar Jonahss commented on July 28, 2024

You could submit a Pull Request to have that log line respect the karma
error-level configuration.

On Fri, Mar 6, 2015 at 6:48 AM, Iliyan Peychev [email protected]
wrote:

Hello,

Is it possible to reduce the log verbosity? We run our tests via Travis
and it complains https://travis-ci.org/alloyui/core/builds/53331790
that the log is too big. We have specified LOG_ERROR level in karma config
file, but it seems it is not being taken in consideration, because there
are a lot of messages https://travis-ci.org/alloyui/core/builds/53331790
like:

Safari 5.1.7 (Windows 7): Executed 87 of 306 SUCCESS (0 secs / 0.031 secs)
SUCCESS (2.708 secs / 0.975 secs)
Safari 5.1.7 (Windows 7): Executed 88 of 306 SUCCESS (0 secs / 0.032 secs)
SUCCESS (2.708 secs / 0.975 secs)
Safari 5.1.7 (Windows 7): Executed 89 of 306 SUCCESS (0 secs / 0.032 secs)

Looking in the code here
https://github.com/karma-runner/karma-sauce-launcher/blob/master/lib/sauce_connect.js#L11
it seems the log level is debug. Is there a way to change this?

Thanks,


Reply to this email directly or view it on GitHub
#67.

from karma-sauce-launcher.

Krinkle avatar Krinkle commented on July 28, 2024

The progress indication of the test execution is not provided by karma-sauce-launcher. And even in Karma's main output, that is not related to "debug" level output.

The default reporter is progress, which prints a line for each update. If possible it replaces the previous line, but when streaming output (such as for logs of Jenkins or Travis CI) that doesn't work.

Consider using the dots reporter instead.

See "reporters" on http://karma-runner.github.io/0.12/config/configuration-file.html

from karma-sauce-launcher.

ipeychev avatar ipeychev commented on July 28, 2024

Thanks, makes sense.

from karma-sauce-launcher.

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.