There was an error while loading. Please reload this page.
This page shows how to test fluentd patches on your environment.
Get patches and build gem.
$ git clone https://github.com/fluent/fluentd.git $ cd fluentd $ gem install bundler --no-document $ git checkout -b branch-for-patch origin/branch-for-patch # build patched gem. Generated gem is stored into under pkg directory $ bundle exec rake build # install $ gem install pkg/fluentd-x.y.z.gem
Using RUBYLIB environment variables, you can load patched code when fluentd starts.
RUBYLIB
Get patches:
$ git clone https://github.com/fluent/fluentd.git $ cd fluentd $ git checkout -b branch-for-patch origin/branch-for-patch
Use patched code:
$ RUBYLIB=/path/to/fluentd/lib fluentd -c ./fluentd.conf
If you clone the repository to /home/user/fluentd, actual command is RUBYLIB=/home/user/fluentd/lib fluentd -c ./fluentd.conf
/home/user/fluentd
RUBYLIB=/home/user/fluentd/lib fluentd -c ./fluentd.conf