-
Notifications
You must be signed in to change notification settings - Fork 311
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
FluentD debug tracing #26
Comments
While it's not difficult modifying service_control to take a debug level, note that the various mechanisms used to start across various systems (be it /etc/inid.d style scripts or systemd control) do not necessarily take a parameter. I could set something globally and detect at startup, but that seems kind of sloppy to me. As for the -vv option to fluentd, we're using the fluentd framework, and we're checking for debug of our particular plugin. Debugging globally (what -vv does) doesn't appear to set individual plugins to debug, which is why that's happening. Given what you're after, I think it's easier just to change the configuration to debug our plugin. Hope this helps, /Jeff |
To answer the second part of the question, there are two types of log levels in fluentd:
In this case per plugin logging is used. Change the log_level of the output plugin to debug. The configuration file is located in |
@ChrisHeitkamp, have we answered your questions? If so, please feel free to close this issue. If not, please post a new comment and we'll help you out. |
No real issue, but rather a CR:
It would be good if the omsagent / fluentd call could have debug parameters passed (-vv) when service_control is called with a debug level.
And my question:
Even with -vv I do not get plugin tracing information.
Looking for lines like
log.debug "Success sending #{tag} x #{count} in #{time.round(2)}s"
from the out_oms plugin.
Any hints?
The text was updated successfully, but these errors were encountered: