Skip to content
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

Capture root logger messages in the Cell when using our custom log Handler (SYN-8012) #3922

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vEpiphyte
Copy link
Contributor

No description provided.

…a initFromArgv, plumb it up into storm (SYN-8012)
@vEpiphyte vEpiphyte changed the title Add logs to the ce(SYN-8012) Capture runtime service logs on the Cell when started via initFromArgv (SYN-8012) Sep 18, 2024
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 81.48148% with 10 lines in your changes missing coverage. Please review.

Project coverage is 96.24%. Comparing base (245528d) to head (a36e209).

Files with missing lines Patch % Lines
synapse/lib/stormlib/cell.py 60.00% 6 Missing ⚠️
synapse/lib/cell.py 82.35% 3 Missing ⚠️
synapse/common.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3922      +/-   ##
==========================================
- Coverage   96.35%   96.24%   -0.12%     
==========================================
  Files         245      245              
  Lines       54707    54755      +48     
==========================================
- Hits        52715    52700      -15     
- Misses       1992     2055      +63     
Flag Coverage Δ
linux 96.24% <81.48%> (-0.03%) ⬇️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vEpiphyte vEpiphyte changed the title Capture runtime service logs on the Cell when started via initFromArgv (SYN-8012) Capture root logger messages in the Cell when using our custom log Handler (SYN-8012) Sep 23, 2024
if self._syn_log_queue is None:
raise s_exc.SynErr(mesg='no queue available')
for mesg in list(self._syn_log_queue):
yield mesg
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

including leading timestamp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Window this output so we can do live output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant