Przeglądaj źródła

Update description of logfile_backups. Related to #142

Mike Naberezny 12 lat temu
rodzic
commit
b0f0a567e5
2 zmienionych plików z 5 dodań i 7 usunięć
  1. 4 6
      docs/configuration.rst
  2. 1 1
      docs/logging.rst

+ 4 - 6
docs/configuration.rst

@@ -212,8 +212,7 @@ follows.
 ``logfile_backups``
 
   The number of backups to keep around resulting from activity log
-  file rotation.  Set this to 0 to indicate an unlimited number of
-  backups.
+  file rotation.  If set to 0, no backups will be kept.
 
   *Default*:  10
 
@@ -803,8 +802,8 @@ where specified.
 ``stdout_logfile_backups``
 
   The number of ``stdout_logfile`` backups to keep around resulting
-  from process stdout log file rotation.  Set this to 0 to indicate an
-  unlimited number of backups.
+  from process stdout log file rotation.  If set to 0, no backups
+  will be kept.
 
   *Default*: 10
 
@@ -865,8 +864,7 @@ where specified.
 ``stderr_logfile_backups``
 
   The number of backups to keep around resulting from process stderr
-  log file rotation.  Set this to 0 to indicate an unlimited number of
-  backups.
+  log file rotation.  If set to 0, no backups will be kept.
 
   *Default*: 10
 

+ 1 - 1
docs/logging.rst

@@ -105,7 +105,7 @@ being written to is named :file:`supervisord.log`, when it exceeds
 :file:`supervisord.log.2`, :file:`supervisord.log.3` etc.
 respectively.  If ``logfile_maxbytes`` is 0, the logfile is never
 rotated (and thus backups are never made).  If ``logfile_backups`` is
-0, an unlimited number of backups is created.
+0, no backups will be kept.
 
 Child Process Logs
 ------------------