![]() |
|
|
|
|
|||||||
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there an option or command somewhere to change the log files to daily archives, rather than monthly? I run reports locally daily/weekly and my analysis software chokes due to loading the entire month each time.
|
|
#2
|
||||
|
||||
|
This can be done for two minutes. Log in to your VPS by SSH. Get root access on shell
Code:
su - Code:
nano /etc/logrotate.conf Code:
# see "man logrotate" for details # rotate log files weekly weekly Code:
# see "man logrotate" for details # rotate log files weekly monthly Code:
service syslog restart |
![]() |
| Tags |
| access, log, options |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|