Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cloudappliance/logrollerconfiguration [2019_12_05 13:56] dancloudappliance/logrollerconfiguration [2019_12_23 14:09] dan
Line 15: Line 15:
      filename=cronlogs.txt        filename=cronlogs.txt  
 </file>'' </file>''
 +
 +(Note: In the file the second line of each stanza may be tabbed in to improve readability.  As this is XML the whitespace doesn't matter. In fact, each stanza can be written on one line.)
  
 The path within the file tag's brackets on the first line identifies the file to be rotated, with an implicit starting point of /var/www/smestorage/. So in our example, the file to be rotated is: The path within the file tag's brackets on the first line identifies the file to be rotated, with an implicit starting point of /var/www/smestorage/. So in our example, the file to be rotated is:
Line 20: Line 22:
 ''/var/www/smestorage/cron/log.txt'' ''/var/www/smestorage/cron/log.txt''
  
-The value assigned to filename on the second line is the name that the file when be given when it has been rotated out of its original location and into an archive directory.  Logroller allows files to be renamed to prevent overwrites if to or more programs produce log files with the same name.  In our example log.txt will be renamed to cronlogs.txt when it is moved to the archive area by logroller.+The value assigned to filename on the second line is the name that the file when be given when it has been rotated out of its original location and into an archive directory.  Logroller allows files to be renamed to prevent overwrites if two or more programs produce log files with the same name.  In our example log.txt will be renamed to cronlogs.txt when it is moved to the archive area by logroller.