Difference between revisions of "Limit the size of .log files & the journal/ru"

Created page with "Например, приведенный ниже блок сценария выполняет следующие действия, перечисленные построчно:"
(Created page with "== Некоторые варианты использования Logrotate ==")
Tags: Mobile web edit Mobile edit
(Created page with "Например, приведенный ниже блок сценария выполняет следующие действия, перечисленные построчно:")
Line 239: Line 239:
== Некоторые варианты использования Logrotate ==
== Некоторые варианты использования Logrotate ==


For example, script block below does the following, listed line by line:
Например, приведенный ниже блок сценария выполняет следующие действия, перечисленные построчно:


* '''/var/log/*.log {''' specifies the file or the files as this example uses a wild card that says all files ending in .log , the '''{''' starts the list of commands that will be used on the file(s) just specified.
* '''/var/log/*.log {''' specifies the file or the files as this example uses a wild card that says all files ending in .log , the '''{''' starts the list of commands that will be used on the file(s) just specified.
translator
10,735

edits