question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should we still support python "logging" span api

See original GitHub issue

I don’t think that there is much use to be able to say zipkin_logger.debug(some_dict_form_of_span). It only seems to make the api more complicated and cause issues like #23. Can we just get rid of it and store the trace context in thread local?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jimlarcommented, Sep 6, 2017

I have issues with the thread safety (gevent) because of this, let me know if I can help in any way

1reaction
codefromthecryptcommented, Sep 6, 2017

Less to explain is better, unless it is compelling. Thx for considering this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Logging Guide - Best Practices and Hands-on Examples
We will introduce various concepts relevant to understanding logging in Python, discuss the corresponding logging APIs in Python and how to ...
Read more >
Logging Cookbook — Python 3.11.1 documentation
This shows the logging output interspersed as one might expect. This approach works for more threads than shown here, of course. Multiple handlers...
Read more >
Simplify and generalize Span.log API · Issue #96 - GitHub
I would like to propose to replace the current log_event and log methods with a single structured logging method: span.log(tag1=value1, tag2= ...
Read more >
OpenTelemetry and Python: A complete instrumentation guide
In this post, we will explore how we would instrument a Python application to emit tracing data (metric and log data interfaces are...
Read more >
Logging in Python - Real Python
A logger that you create can have more than one handler, which means you can set it up to be saved to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found