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

Implement new logger API #414

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

Implement new logger API #414

wants to merge 18 commits into from

Conversation

Neverlord
Copy link
Member

Based on the design outlined in #408. I've designed it in a way that allow us to easily switch to std::format once we have access to it. Compared to the preliminary design in the ticket, I've merged the two store components back into one. There's also an app category, that I plan on using in some of our Broker tools. Broker itself won't use this component.

If we can agree on this approach, I'd prepare a branch in Zeek that picks up the logs from Broker and puts them into broker.log.

Neverlord and others added 15 commits October 20, 2024 10:33
The new event API in Broker enables users to install custom event
observers (loggers) in order to embed Broker logs into a wider context.
The new logging backend no longer offers trace logging. Since it is more
geared towards high-level description of events rather than leaving a
paper trail what lines of code ran.
The distinction between clones and masters at the log level component
has proven to be too fine-grained and makes it difficult to log events
outside of the master and clone actors, e.g., the store (base) actor or
the channels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant