-
Notifications
You must be signed in to change notification settings - Fork 446
Support multiple sinks at once (tee
logging)
#1998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tee
logging)
It is very useful to be able to dynamically add and remove sinks at runtime. For instance:
This mean we need an API along the following lines: rerun = rr.new_recording(app_id=…, …)
rerun.add_sink(file_path="foo.rrd")
viewer_sink_id = rerun.add_sink(spawn=True)
…
rerun.remove_sink(viewer_sink_id) When no sinks are attached, |
An interesting case to consider is streaming to an .rrd and calling |
Adding to the thread another potential use case of interest: #6685 In a nutshell: Periodic calls to |
Hello all, any updates on this topic? Rationale at #1998 (comment) makes a lot of sense to me as well. Thanks! |
Tracking this as well, having the ability to tee at the SDK would be great! I'd like to be able to persist logs as well as "check" on them as I wish. If I can help push this along, let me know! |
Something along the lines of this pseudo code:
also need to update CLI args helpers for both Rust and Python to support mixing
--save
with anything else.The text was updated successfully, but these errors were encountered: