envoyproxy / envoyproxy/envoy-mobile

observability: support log levels for native/platform logging

Open
#719 0 comments 0 reactions 0 assignees View on GitHub
no stalebot observability/stats
Dominant language
Java
Stars
566
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Right now we don't have a way for platform (Swift/Kotlin) or native (ObjC/Java) to emit logs through Envoy in a way that respects their log levels specified in configurations. Thus far, we've added occasional `NSLog` statements, but it'd be great if we could send these logs through the same sink that other Envoy logs go through.

The main point of discussion with this change is that it would require native code to depend on upstream Envoy's logger/logging interfaces. This might be fine, but is something that should be decided.

More discussions:
- https://github.com/lyft/envoy-mobile/pull/709#discussion_r386692846
- https://github.com/lyft/envoy-mobile/pull/701#pullrequestreview-362978207

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.