Make it work with recent versions of spdlog.#131
Make it work with recent versions of spdlog.#131PiotrSikora wants to merge 1 commit intoenvoyproxy:masterfrom
Conversation
|
This is a little problematic given that there are other info lines that in general we don't want to print during runtime (which is why default before was notice). I guess my feeling here is to change both notice/emerg -> critical and make the default critical. I realize that in general "critical" is supposed to mean "exiting soon and can't continue", but I don't think it really matters that much. Otherwise we are going to have to change a whole bunch of existing info log lines to debug most likely (which is also fine, but a bigger change). Thoughts? |
Recent versions don't have "notice" and "emerg" levels, so change "notice" to "info" or "error" and "emerg" to "critical". Signed-off-by: Piotr Sikora <piotrsikora@google.com>
|
I changed the default level (and mongo decoding error) to "error" level, which I think is the sanest solution... Unless you really want to display all those logs that were previously at "notice" level? FWIW, I don't get why spdlog removed "notice" level... Also, I don't know the circumstances of all the errors, so could you please double-check whether any of those that I lowered from "notice" to "info" level should be at "error" level instead? Thanks! |
|
There might be a few things that we want to leave at "err" just for startup and shutdown logging. Let me take a look at this brach locally. Which SHA of spdlog are you using? just current master? |
|
Did you have to make any build changes? I'm getting use of old style cast warnings as errors. Sorry for the delay trying to get this working now. |
|
It looks like cotire doesn't correctly listen to SYSTEM includes either. |
|
OK I got it working. It's going to require a few other changes. If it's OK with you I think I'm just going to open a new PR built on top of your changes. I will tag you. |
|
Hey Matt, Feel free to start a new PR. |
|
Closing in favor of #160 |
…egate_cluster zh-translation: /intro/arch_overview/upstream/aggregate_cluster.rst
…on android_binary (#131) The primary goal this achieves is that it unlocks our ability to develop the Envoy mobile shim in kotlin rather than java. The gist of this change is that `android_library`'s implicit `aar` doesn't flatten its transitive dependencies. When using the kotlin rules, the `kt_android_library` rule creates a few underlying libraries, because of this the `classes.jar` in the `aar` we built was empty. This change separately builds the underlying `*kt.jar` file, and replaces the `aar`'s `classes.jar` with the kotlin one. envoyproxy/envoy-mobile#99 Signed-off-by: Alan Chiu <achiu@lyft.com> For an explanation of how to fill out the fields, please see the relevant section in [PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/master/PULL_REQUESTS.md) Description: Enable kotlin library development Risk Level: low Testing: ci, local Docs Changes: n/a Release Notes: n/a [Optional Fixes #Issue] [Optional Deprecated:] Signed-off-by: JP Simard <jp@jpsim.com>
…on android_binary (#131) The primary goal this achieves is that it unlocks our ability to develop the Envoy mobile shim in kotlin rather than java. The gist of this change is that `android_library`'s implicit `aar` doesn't flatten its transitive dependencies. When using the kotlin rules, the `kt_android_library` rule creates a few underlying libraries, because of this the `classes.jar` in the `aar` we built was empty. This change separately builds the underlying `*kt.jar` file, and replaces the `aar`'s `classes.jar` with the kotlin one. envoyproxy/envoy-mobile#99 Signed-off-by: Alan Chiu <achiu@lyft.com> For an explanation of how to fill out the fields, please see the relevant section in [PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/master/PULL_REQUESTS.md) Description: Enable kotlin library development Risk Level: low Testing: ci, local Docs Changes: n/a Release Notes: n/a [Optional Fixes #Issue] [Optional Deprecated:] Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com> Co-authored-by: Dan Sun <dsun20@bloomberg.net>
Recent versions don't have "notice" and "emerg" levels,
so change "notice" to "info" and "emerg" to "critical".