-
Notifications
You must be signed in to change notification settings - Fork 44
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
Determine if ConfigureWithOutputs is sufficient for beatreceiver project #225
Comments
In its current form ConfigureWithOutputs calls createSink which creates a new logOutput. This isn't what we want in the case of the beats receivers. We don't want to setup file logging, all of the log retention should be handled already. In #218 we are calling wrappedCore to get the new sink, and selectiveWrapper to set the selectors on it. @belimawr we could change |
I'm not a fan of this "magic behaviour". But first things first, let me truly understand your goal here. Because of the Beats receiver project, we need to be able to take an already existing I'm not a huge fan of "magic behaviour", but it seems to make sense and I believe we have enough tests in place to avoid unforeseen side effects like #208 fixed. Just make sure to document it in |
Essentially yes, the core is already configured with where the logs will be written to. So we just want to use that, and potentially have selectors.
The avoiding magic was part of why I had a different function before. In general I would prefer the new function. |
#218 proposes a new function
ConfigureWithCore
, butConfigureWithOutputs
already exists.Need to determine if existing
ConfigureWithOutputs
is sufficient or could be modified to work with beats receiver project.The text was updated successfully, but these errors were encountered: