README.md in fluentd-server-0.1.0 vs README.md in fluentd-server-0.2.0

- old
+ new

@@ -45,11 +45,11 @@ ``` # /etc/fluentd.conf include http://fqdn.to.fluentd-server/api/:name?port=24224 ``` -where :name is the name of your config post, so that it will download the real configuration from the Fluentd Server. +so that it will download the real configuration from the Fluentd Server where :name is the name of your post. ## Installation Prerequisites @@ -93,23 +93,35 @@ ``` PORT=5126 HOST=0.0.0.0 # DATABASE_URL=sqlite3:data/fluentd_server.db -# LOG_PATH=log/application.log -# LOG_LEVEL=warn +# JOB_DIR=jobs +# LOG_PATH=STDOUT +# LOG_LEVEL=debug +# LOG_SHIFT_AGE=0 +# LOG_SHIFT_SIZE=1048576 ``` +### DATA_DIR (experimental) + +Configure `DATA_DIR` in `.env` file as: + +``` +DATA_DIR=data +``` + +to store and load Fluentd config contents not from DB, but from local files located at the directory `DATA_DIR`. +This would be useful when you want to manage your config files with git. + ## HTTP API See [API.md](API.md). ## ToDo -* Local file storage - - * Saving and loading conf from localfiles rather than DB would be nice because it makes possible to manage conf with git - * Fluentd Server should cache them on memory, and refresh caches by detecting files are updated +* Create a sync worker to synchronize local file existences with db (delete and create entries on db). +* Automatic deployment (restart) support like the one of chef-server ## ChangeLog See [CHANGELOG.md](CHANGELOG.md) for details.