Repository navigation
Replace use of debug! by warn! in constellation.rs - #10489
Conversation
|
Hum... Probably we don't want to replace all those, there are some of them which are just debug info, like the "constellation got xxx message" ones. In case we want those in release mode by default (I'm not totally sure about that), at least they should be changed to Thoughts, @jdm and @asajeffrey? (or anyone else, just mentioning them because they were participating in the corresponding issue). |
|
Good point, thank you! I was thinking about that myself for some time too, but I didn't know |
|
To only compile them in debug builds you should keep them using Anyways, appart from that this looks great! Thanks! :) Let's wait for more servo people to hear their opinions before changing back and forth :P |
|
I don't think we need to think about debug vs. info at this point. Let's just go ahead and revert the changes to messages that aren't actually conditions that should be treated as warnings. Reviewed 1 of 1 files at r1. components/compositing/constellation.rs, line 573 [r1] (raw file): components/compositing/constellation.rs, line 1106 [r1] (raw file): components/compositing/constellation.rs, line 1122 [r1] (raw file): components/compositing/constellation.rs, line 1478 [r1] (raw file): components/compositing/constellation.rs, line 1528 [r1] (raw file): Comments from Reviewable |
|
☔ The latest upstream changes (presumably #10224) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I went over all |
|
Looks good! Just that one remaining one that you pointed out. Reviewed 1 of 1 files at r2. components/compositing/constellation.rs, line 657 [r2] (raw file): Comments from Reviewable |
|
Done. I also changed https://github.com/servo/servo/blob/master/components/compositing/constellation.rs#L790 and https://github.com/servo/servo/blob/master/components/compositing/constellation.rs#L807 back to |
|
@bors-servo: r+ Reviewed 1 of 1 files at r3. Comments from Reviewable |
|
📌 Commit 29e564b has been approved by |
Replace use of `debug!` by `warn!` in `constellation.rs` Fixes #10483. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10489) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt |
Fixes #10483.
This change is