Changeset f3429309 for general/sysutils/logrotate.xml
- Timestamp:
- 11/13/2015 02:24:57 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9fd7f516
- Parents:
- 6c91a92a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/logrotate.xml
r6c91a92a rf3429309 31 31 32 32 <para> 33 The <application>logrotate</application> package allows automatic rotation, 34 compression, removal, and mailing of log files. 33 The <application>logrotate</application> package allows automatic rotation, 34 compression, removal, and mailing of log files. 35 35 </para> 36 36 … … 106 106 107 107 <para> 108 To test the results, issue: <command>make test</command>. 108 To test the results, issue: <command>make test</command>. 109 109 </para> 110 110 … … 130 130 <title>Configuring Logrotate</title> 131 131 132 <para><application>Logrotate</application> needs a configuration file, 133 which must be passed as an argument to the command when executed. Create 132 <para><application>Logrotate</application> needs a configuration file, 133 which must be passed as an argument to the command when executed. Create 134 134 the file as the <systemitem class="username">root</systemitem> user:</para> 135 135 … … 184 184 <screen role="root"><userinput> mkdir -p /etc/logrotate.d</userinput></screen> 185 185 186 <para>At this point additional log rotation commands can be entered, typically 186 <para>At this point additional log rotation commands can be entered, typically 187 187 in the <filename class='directory'>/etc/logrotate.d</filename> directory. 188 188 For example:</para> … … 218 218 219 219 <para>You can use in the same line the list of files: file1 file2 file3. 220 See the logrotate man page or 220 See the logrotate man page or 221 221 <ulink url='http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/'/> 222 222 for more examples.</para> … … 265 265 <listitem> 266 266 <para> 267 performs the log maintenance functions defined in the 267 performs the log maintenance functions defined in the 268 268 configuration files. 269 269 </para>
Note:
See TracChangeset
for help on using the changeset viewer.