-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Separate system config object from supervisor #794
Conversation
@@ -585,8 +576,9 @@ def change_privilege | |||
end | |||
|
|||
def init_engine | |||
init_opts = {:suppress_interval => @suppress_interval, :suppress_config_dump => @suppress_config_dump, :without_source => @without_source} | |||
Fluent::Engine.init(init_opts) | |||
# init_opts = {:suppress_interval => @suppress_interval, :suppress_config_dump => @suppress_config_dump, :without_source => @without_source} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is needed?
…ration to plugins * v0.14 feature: new Plugin API expects these configuration parameters to system config * plugin storage path * default file/directory permissions * many others
467c6c6
to
bd4b5f2
Compare
module Fluent | ||
require 'fluent/configurable' | ||
|
||
module SystemConfigMixin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who use this module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugins (or PluginSupport modules to be introduced) which need to refer system configurations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see
Looks good |
Separate system config object from supervisor
Merged. |
Separate system config object from supervisor
Back port separate system config object from supervisor(#794)
to pass system configuration to plugins