-
Notifications
You must be signed in to change notification settings - Fork 27
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
log_level enabled can not do? #37
Comments
Oh, I have forgot to implement it. I'll fix it soon. |
Thank you. |
Would you please tell me the type of logs?
|
I'm not so good at writing English, so I also write in Japansese. enIt is the https://github.com/y-ken/fluent-plugin-twitter/blob/master/lib/fluent/plugin/in_twitter.rb that I use. ja私が使っているのは、 https://github.com/y-ken/fluent-plugin-twitter/blob/master/lib/fluent/plugin/in_twitter.rb の方です。 |
apiキーは隠した上で、設定ファイルを見せて頂けますか? <match twitter.sampling>
@type stdout
</match> |
ありがとう御座います。 日本語で安心しました。 現在は開発中なので、こちらのレポジトリーに全ファイル置いてあります。 追加で説明しますと。ここで |
ログを発生させているところで、log_levelの設定を行う事で出力されるログを制御できます。 前提として、ログ自体はfluent.infoやfluent.warnなどのタグで流れております。 stdoutで出力される内容を制御するためには、filterプラグインを経由する必要があります。 |
公式サイトにこちらの記事があり、 #36 現在これに遭遇して 先ほど確認したら 対応されてましたね. ごめんなさい。私の勘違いのようです |
stdoutでlog_levelを用いるケースですが、それ自体で発生するエラー、bufferd outputではなくmemory outputなので、例えばディスクフルのため標準出力ログに書き出せなかった、といったエラーを出すかどうかの制御程度しか想定できません。 |
そうですか、 では
と書いてログ出力側の方で設定する用にしてみます。 |
status has updated. ref #39 |
新しいバージョンを本日リリースしましたので、確認をお願いします。 |
おそらく、次の所で発生したエラーを、集約サーバで集めたいのだと推測します。
その場合には、次のように発生した内部エラーログを他のサーバに転送する設定がtwitterを入れてるサーバで必要です。
|
Fill the console you get lots of Tweets, are in trouble.
Add log_level option by repeatedly · Pull Request #255 · fluent/fluentd
The text was updated successfully, but these errors were encountered: