Contents
How do you rotate a log in Linux?
Manage Linux log files with Logrotate
- The logrotate configuration.
- Setting defaults for logrotate.
- Using the include option to read other configuration files.
- Setting rotation parameters for specific files.
- Using the include option to override defaults.
27 дек. 2000 г.
How do I set log rotation?
The binary file can be located at /bin/logrotate . By installing logrotate , a new configuration file is placed in the /etc/ directory to control the general behavior of the utility when it runs. Also, a folder is created for service-specific snap-in configuration files for tailor-made log rotation requests.