Solved

Can I change the log file maxlength?

Posted on 2008-10-02
1
182 Views
Last Modified: 2010-05-18
Hello,

The access.log is rewrited (I think this) and I can read it every day. Can I change the squid parameters to increase the log size?

What can I do?

Best regards
0
Comment
Question by:silviall
1 Comment
 
LVL 45

Accepted Solution

by:
sunnycoder earned 250 total points
Comment Utility
Hello silviall,

Log file rotation is handled by logrotate
http://linux.die.net/man/8/logrotate

Edit the /etc/logrotate.conf file to manage the rotation of your log files e.g.

"/var/log/httpd/access.log" /var/log/httpd/error.log {
rotate 5
weekly
}

Regards,
sunnycoder
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now