Commit Graph

120 Commits

Author SHA1 Message Date
uu59
5fe3ef7de4 cosme 2015-01-14 14:31:34 +09:00
uu59
1c08790abf Add tests and fix dryrun 2015-01-14 14:29:41 +09:00
uu59
afc6cca460 Ensure exit status code for detached_command method result 2015-01-14 13:42:32 +09:00
uu59
f80ab8a69a Add dryrun method to agents 2015-01-14 13:38:14 +09:00
uu59
0856c4e26c Follow out_s3 plugin ver 0.5.x 2015-01-14 10:49:56 +09:00
hassaku
5de418539f Remove also note file at the same time as removing backup config file. 2015-01-07 18:23:15 +09:00
hassaku
9cc12f7bc3 Show exceptions if updating note fails. 2015-01-07 17:34:02 +09:00
hassaku
336e22bea7 Change termination regular expression properly. 2015-01-07 17:27:10 +09:00
hassaku
974869a6a8 Escape argument not to substitute unintended path. 2015-01-07 15:17:29 +09:00
hassaku
b8ca05a16c Touch an empty file if note doesn't exist. 2015-01-07 15:13:37 +09:00
hassaku
e2e884e317 Add method to update content of note. 2015-01-07 13:56:22 +09:00
hassaku
a28b71084c Associate a note with a backup file. 2015-01-07 12:06:44 +09:00
hassaku
7a95af83ce Add Note class to memo about backup files. 2015-01-07 12:05:57 +09:00
hassaku
bb7786499b Extract common procedures into module. 2015-01-07 12:03:54 +09:00
鳥井 雪
92134654ea Make dir app/models/fluentd/setting_archive/
and move backup_file model under it. prepare for gathering models that concernig about archive
2014-12-26 14:59:50 +09:00
uu59
40de266d37 Merge pull request #123 from fluent/remove_dead_code
Remove dead code
2014-12-18 12:43:27 +09:00
鳥井 雪
6105886705 Change to use application.yml setting instead of hard coded number 2014-12-17 18:44:17 +09:00
鳥井 雪
7b65e03cc8 Change to use File.join instead of string concatenation
because File.join makes the purpose of code clear and do it safely
2014-12-17 18:19:01 +09:00
鳥井 雪
c4eb06f5ba Chamge method name #backup_files -> #backup_files_in_old_order
to make its sort function clearer, and Refactor #remove_over_backup_files by using it
2014-12-17 18:09:04 +09:00
uu59
47328af9c9 Remove Fluentd::Agent::Remote 2014-12-17 17:08:01 +09:00
鳥井 雪
560035b185 Add UI for running bacukp config 2014-12-17 17:04:24 +09:00
uu59
8f0086abb5 Remove Fluentd::Api 2014-12-17 16:58:11 +09:00
uu59
7ec6c1b9fd Fix to write config file via Fleuntd::Agent 2014-12-17 13:21:58 +09:00
鳥井 雪
0786fafb9b Remove keyword argument from methods
for Ruby 1.9
2014-12-16 19:03:06 +09:00
鳥井 雪
36bd26a37d Add UI to reuse backup config files 2014-12-16 17:58:34 +09:00
鳥井 雪
b87b2c8af4 Add #backup_running_config method
on Fluentd::Agent
2014-12-15 15:37:21 +09:00
鳥井 雪
9a1b72b6b0 Add fluentd.agent#backup_config method
and call it in #config_write and #config_append
to backup config histories
2014-12-11 16:27:04 +09:00
Koichi TANAKA
50b5fbed54 Fix bug: pid become zero when pid file is empty 2014-12-03 17:07:08 +09:00
Koichi TANAKA
c501a76264 Make public for testing 2014-12-03 16:31:30 +09:00
hassaku
963307c7b5 Add forward input settings. 2014-12-03 15:17:04 +09:00
hassaku
155e33d6dd Add http input settings. 2014-12-03 15:17:04 +09:00
uu59
9ac66f05d3 Add out_stdout setting 2014-12-03 15:17:03 +09:00
uu59
f44e6791e7 Add in_monitor_agent setting 2014-12-03 15:17:03 +09:00
uu59
86351718f3 Add JSON API for changing config by section 2014-11-25 18:05:25 +09:00
uu59
645c2bbefc Refactor: Config#config -> Config#fl_config 2014-11-25 17:43:11 +09:00
uu59
e8236456c2 Add feature spec 2014-11-18 16:01:39 +09:00
uu59
22dd9c4bdb Display current setting 2014-11-18 16:00:44 +09:00
uu59
c7233a565e Fix to create pidfile on Mac 2014-11-11 13:00:10 +09:00
uu59
703eba0079 Swithing MacOSX or UNIX for handling td-agent process 2014-11-11 13:00:10 +09:00
uu59
3c7786f262 Refactor plugin setting
Adding support for some plugins was hard.
After this commit, easy to add a plugin that has commonly
setting style.

Before:
- Add model, controller, and views for it.

After:
- Add model and controller. view is shared.
2014-11-04 14:29:31 +09:00
uu59
ba31ef566a Fix can't setting with regexp on in_tail 2014-08-14 18:29:06 +09:00
uu59
5e704969d2 tag_key is not config param 2014-08-13 18:20:24 +09:00
uu59
242e23732c Add out_elasticsearch setting 2014-08-13 18:12:28 +09:00
uu59
341dc515bf Use full path for /usr/sbin/td-agent --version 2014-07-31 14:29:29 +09:00
uu59
a4eacf0a5b Fix out_s3 unused params 2014-07-31 13:53:19 +09:00
uu59
144cfdeeef Fix to not create zombie 2014-07-31 10:56:52 +09:00
uu59
e7b449f44f FluentGem default setting no require root permission 2014-07-30 17:53:42 +09:00
uu59
24899b7a6a Don't too quickly response of td-agent start/stop/restart 2014-07-30 17:08:38 +09:00
uu59
0846f18fbb Fix td-agent operation 2014-07-30 16:19:20 +09:00
uu59
edafcf3bb5 Fix out_td setting type name 2014-07-29 11:34:47 +09:00