Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Virtual Private Servers (VPS)

Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-19-2009, 11:12 PM
krispy krispy is offline
Junior Member
 
Join Date: Dec 2008
Posts: 2
Default Access log options

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.
Reply With Quote
  #2  
Old 04-23-2009, 05:26 AM
Liona's Avatar
Liona Liona is offline
Member
 
Join Date: Jan 2009
Location: Buenos Aires
Posts: 85
Default Re: Access log options

This can be done for two minutes. Log in to your VPS by SSH. Get root access on shell
Code:
su -
or just login at root if you are still not well secure your ssh. Next, edit this file
Code:
nano /etc/logrotate.conf
This is a very short file with few creating log options and also this file contain explanation of these options. What you must do is to change this:
Code:
# see "man logrotate" for details
# rotate log files weekly
weekly
with this
Code:
# see "man logrotate" for details
# rotate log files weekly
monthly
Finaly, restart syslog:
Code:
service syslog restart
Reply With Quote
Reply

Tags
access, log, options

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.