quetion about log rotate

General support questions
Post Reply
light86
Posts: 72
Joined: 2015/03/29 15:08:36

quetion about log rotate

Post by light86 » 2015/10/13 14:31:03

Hi every one I hope that you are fine
please in this configuration of http logrotate
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
I don't see the log the period of log rotation
Please what is the period of log rotation
Thank you

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: quetion about log rotate

Post by TrevorH » 2015/10/13 14:31:48

If not specified then it's inherited from the global settings in /etc/logrotate.conf
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

light86
Posts: 72
Joined: 2015/03/29 15:08:36

Re: quetion about log rotate

Post by light86 » 2015/10/13 14:37:32

Hi thank you
Please i want to know i can disabled the log rotate form squid
Thank you

SeijiSensei
Posts: 12
Joined: 2015/10/05 21:25:41

Re: quetion about log rotate

Post by SeijiSensei » 2015/10/19 17:07:06

Remove the squid file from /etc/logrotate.d/.

light86
Posts: 72
Joined: 2015/03/29 15:08:36

Re: quetion about log rotate

Post by light86 » 2015/10/19 19:14:05

Hi thank you

Post Reply