diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-08-18 12:11:58 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-08-18 12:11:58 +0100 |
| commit | 18c7a16507cde719f143213ed80663964a6e6c61 (patch) | |
| tree | e68d6b0bc8670adfe193566683e2a683307c78c1 /docs | |
| parent | c90b2a416bd677b41766559b37893af5d4547569 (diff) | |
| download | rabbitmq-server-git-18c7a16507cde719f143213ed80663964a6e6c61.tar.gz | |
Added optional argument that specifies the suffix
of the old log file. Using add_handler and
delete_handler because swap_handlers doesn't behave
as expected.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmqctl.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/rabbitmqctl.pod b/docs/rabbitmqctl.pod index ebe0cd4393..d7f453fbf0 100644 --- a/docs/rabbitmqctl.pod +++ b/docs/rabbitmqctl.pod @@ -66,8 +66,12 @@ force_reset It should only be used as a last resort if the database or cluster configuration has been corrupted. -reopen_logs +reopen_logs [suffix] instruct the RabbitMQ node to close and reopen the log files. + When I<suffix> value is provided, the RabbitMQ broker will attempt + to rename the current log file to the file with appended suffix. + If file with the original name and suffix already exists, then + file renaming operation is aborted. This command might be helpful when you are e.g. writing your own logrotate script and you do not want to restart the RabbitMQ node. |
