Commit Graph

75 Commits

Author SHA1 Message Date
Kenji Okimoto
ecd40a81f4 Support reloading Fluentd/td-agent
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:13:28 +09:00
Kenji Okimoto
e3c6d9032f Use systemctl instead of /etc/init.d/td-agent
Because td-agent3 supports systemd.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:11:25 +09:00
Kenji Okimoto
cfda9dcaea Module#include is public since Ruby 2.1
We don't support old versions of Ruby.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:11:09 +09:00
Kenji Okimoto
1620161467 Remove outdated comment
td-agent3 supports reload command.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
ebbf16af2a Remove outdated comment
td-agent3's /etc/init.d/td-agent has reload command.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
57d49b0dd8 Remove outdated link
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
54ee95fcef Update comment for td-agent3
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
uu59
9002b11926 Remove needless --use-v1-config option 2015-11-30 11:45:10 +09:00
yoshihara
8f21c5f68c Prevent zombie processes from increasing
fixes #165

Before, in dashboard, clicking "Start" button creates a process as
zombie, but clicking "Stop" button doesn't kill it. This change prevents
it from becoming zombie.
2015-04-01 15:06:04 +09:00
uu59
a5a3700a76 Use #send for private method on 1.9.3 2015-02-10 15:57:10 +09:00
uu59
f4495337fc Resolve TODO by removing so that was unused anywhere 2015-02-10 15:55:39 +09:00
uu59
d6f9992a48 Rename: FluentdUiLog -> FluentdLog 2015-02-10 15:49:56 +09:00
uu59
b5d4be2659 Fluentd::Agent::Log is now dependent class. Use composite 2015-02-10 14:58:54 +09:00
uu59
9b2d968bc1 Separate Common module by concerns 2015-02-10 13:51:04 +09:00
uu59
b6b34ff482 Add marker for Common methods 2015-02-04 18:18:11 +09:00
uu59
e82e81e234 Re-order methods 2015-02-04 17:49:04 +09:00
uu59
098f00b48d Also dryrun! is required to be defined 2015-02-04 17:04:40 +09:00
uu59
3b34c720b5 wait_process_starting_seconds is not common (used at fluentd_gem only) 2015-02-04 17:04:14 +09:00
uu59
73b9a01289 LocalCommon and Common was separated by historical reason. it's time to be one 2015-02-04 16:55:55 +09:00
uu59
5dcd1fdf46 more human friendly name 2015-02-04 16:23:06 +09:00
uu59
e0f0ccdc3b DRY 2015-02-04 16:12:05 +09:00
uu59
f54a5a24ff Add dryrun button to setting#edit 2015-02-04 15:03:25 +09:00
uu59
cc300d46a9 Agent#dryrun learned file_path argument for arbitrary config file checking 2015-02-04 12:58:52 +09:00
鳥井 雪
438ed3d518 Fix #logged_error bugs.
Before, it put serial other error log into one error subject and it's notes.
Fix to divide them into each error subject
2015-01-15 15:06:19 +09:00
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
hassaku
5de418539f Remove also note file at the same time as removing backup config file. 2015-01-07 18:23:15 +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
鳥井 雪
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
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
341dc515bf Use full path for /usr/sbin/td-agent --version 2014-07-31 14:29:29 +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
dd8fded3a1 Fix to find correct fluent-gem path 2014-07-28 18:37:10 +09:00
uu59
4fac24a9bf Fix fluentd version (not bundle-installed fluentd version) 2014-07-17 13:42:36 +09:00
uu59
6498ad34ff Fix fluentd launch option 2014-07-09 14:22:07 +09:00
uu59
ecf9b0054a Follow fluentd 0.10.51 changes 2014-07-09 14:03:31 +09:00