Manjaro Difference between revisions of "Translations:Limit the size of .log files & the journal/124/en"

Difference between revisions of "Translations:Limit the size of .log files & the journal/124/en"

From Manjaro
(Importing a new version from external source)
 
(No difference)

Latest revision as of 17:49, 7 September 2021

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Limit the size of .log files & the journal)
## rotate all /var/log files with names ending in log
 /var/log/*log {
 ## cycle through these commands once per day
  daily
 ## keep the results of 7 cycles
  rotate 7
 ## use gzip to compress each rotated (copied) log file
  compress
 ## compress the file on the next cycle
  delaycompress
 ## copy the contents of the log file to a new file <name>.log.1
 ## & then delete the contents of the original log file
  copytruncate
 ## do nothing to empty files
  notifempty
 ## create no errors if a file is missing
  missingok
 ## after the files have been rotated run the following command
   }
    1. rotate all /var/log files with names ending in log
/var/log/*log {
## cycle through these commands once per day
 daily
## keep the results of 7 cycles
 rotate 7
## use gzip to compress each rotated (copied) log file
 compress
## compress the file on the next cycle
 delaycompress
## copy the contents of the log file to a new file <name>.log.1
## & then delete the contents of the original log file
 copytruncate
## do nothing to empty files
 notifempty
## create no errors if a file is missing
 missingok
## after the files have been rotated run the following command
  }
Cookies help us deliver our services. By using our services, you agree to our use of cookies.