Solved

Can I change the log file maxlength?

Posted on 2008-10-02
1
183 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
ID: 22623004
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OpenVPN running on Ubuntu 14.4 x64 5 94
Webmin Bandwidth Monitoring not working 10 131
IPA - can it be run on a web server? 3 183
iptables ubuntu BLOCK all 2 84
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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