diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-08-29 16:35:08 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-08-29 16:35:08 +0100 |
| commit | 39b1656ff9925b957441e71943f11e876079b4c2 (patch) | |
| tree | 26996f28ebb8867bfc7eb7ad0e94ad9e77986ef3 /docs/rabbitmqctl.pod | |
| parent | eca2d86ac28a34bd434ea6327c1bfc97aeb24e3e (diff) | |
| download | rabbitmq-server-git-39b1656ff9925b957441e71943f11e876079b4c2.tar.gz | |
More info about the behaviour of rotate_logs command
Diffstat (limited to 'docs/rabbitmqctl.pod')
| -rw-r--r-- | docs/rabbitmqctl.pod | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/rabbitmqctl.pod b/docs/rabbitmqctl.pod index 6c84cbb143..3a33e20f96 100644 --- a/docs/rabbitmqctl.pod +++ b/docs/rabbitmqctl.pod @@ -71,8 +71,11 @@ rotate_logs [suffix] broker will attempt to append the current contents of the log file to the file with the name composed of the original name and the suffix. It will create a new file if such a file does not already - exist. When no I<suffix> is specified, the log file is simply - reopened; no rotation takes place. + exist. When no I<suffix> is specified, the empty log file is + simply created at the original location; no rotation takes place. + When an error occurs while appending the contents of the old log + file, operation behaves in the same way as if no I<suffix> was + specified. 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. |
