Skip to content

Is there a way to inform the user of the SDK if, and which LogRecord failed to be sent to the collector for audit logging purposes? #6140

Answered by cijothomas
simaoribeiro asked this question in Q&A
Discussion options

You must be logged in to vote

Yes exactly. I am not clear what is the expected outcome then? Logging Libraries don't returns status or throw exceptions, so end users who use this API to report Audit Logs will not know if the Audit Log they tried to emit was successful or not.

See the related discussion in Spec : open-telemetry/opentelemetry-specification#4377

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@simaoribeiro
Comment options

@cijothomas
Comment options

Answer selected by simaoribeiro
@simaoribeiro
Comment options

@cijothomas
Comment options

@simaoribeiro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants