Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove verbose flag, change some @info to @debug #220

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Mar 11, 2019

There is no point in Coverage.LCOV.readfolder and Coverage.clean_folder
reporting every file they did not process; this just clogs up build logs,
and almost always is useless; so change this from @info to @debug.

Also, by default user won't want to know the JSON replies of Codecov and
Coveralls, nor the exact URL we used to submit to Codecov, so change those
from @info to @debug as well.

On the other hand, knowing which files actually are being processed is
useful, so add an @info message for that (I recently had an exception thrown
in that code and had a hard time figuring out which file was being proceed, so
this will help).

Finally, get rid of the verbose keyword flag; instead, users can adjust the
logging level to suppress or show various messages.

@fingolfin fingolfin requested a review from ararslan March 11, 2019 13:17
@codecov-io
Copy link

codecov-io commented Mar 11, 2019

Codecov Report

Merging #220 into master will decrease coverage by 2.32%.
The diff coverage is 47.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
- Coverage   93.69%   91.36%   -2.33%     
==========================================
  Files           6        6              
  Lines         333      336       +3     
==========================================
- Hits          312      307       -5     
- Misses         21       29       +8
Impacted Files Coverage Δ
src/lcov.jl 96.07% <100%> (ø) ⬆️
src/Coverage.jl 98.13% <100%> (+0.01%) ⬆️
src/coveralls.jl 80% <22.22%> (-8.14%) ⬇️
src/codecovio.jl 91.52% <50%> (-3.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8721dce...0976eac. Read the comment docs.

Copy link

@sebasguts sebasguts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be very helpful to avoid travis logs like this one: https://travis-ci.com/oscar-system/GAPJulia/jobs/183832731

src/codecovio.jl Outdated Show resolved Hide resolved
src/codecovio.jl Show resolved Hide resolved
@fingolfin fingolfin force-pushed the mh/logging branch 2 times, most recently from a45e578 to 779ba5f Compare March 14, 2019 14:23
@fingolfin fingolfin requested a review from ararslan March 15, 2019 12:17
There is no point in Coverage.LCOV.readfolder and Coverage.clean_folder
reporting every file they did *not* process; this just clogs up build logs,
and almost always is useless; so change this from @info to @debug.

Also, by default user won't want to know the JSON replies of Codecov and
Coveralls, nor the exact URL we used to submit to Codecov, so change those
from @info to @debug as well.

On the other hand, knowing which files actually are being processed *is*
useful, so add an @info message for that (I recently had an exception thrown
in that code and had a hard time figuring out which file was being proceed, so
this will help).

Finally, deprecate the `verbose` keyword flag; instead, users should adjust the
logging level to suppress or show various messages.
@fingolfin fingolfin merged commit c66123e into JuliaCI:master Jun 17, 2019
@fingolfin fingolfin deleted the mh/logging branch June 17, 2019 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants