Displaying 6 results from an estimated 6 matches for "logroate".
Did you mean:
logrotate
2017 Dec 02
2
Log rotation issue
...h what was happening
before. The key is to send a -HUP to the whole process tree to make
them re-open the logs, otherwise the other child samba processes will
still just write to the .old
I know this sucks. I think the solution is to have a new reopen-logs
message created so this can be used in logroate, and to have it used
internally as I mentioned.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
2016 Mar 07
0
[Bug 2294] Detect renamed files and handle by renaming instead of delete/re-send
..., .2, .3 file rotation,
> which makes for a lot of needless work, especially when these are
> 100+ MiB files. It would be great if rsync could detect this to just
> transfer the new file and rename the old ninety-nine (or
> however-many).
It is not so hard to add the following to your logroate.conf.
Just saying.
# Add a date extension instead of just a number for rsync hardlinked
# backups.
dateext
dateformat -%Y-%m-%d-%s
Karl <kop at meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
--
You are receiving this...
2017 Dec 03
0
Log rotation issue
...fore. The key is to send a -HUP to the whole process tree to make
> them re-open the logs, otherwise the other child samba processes will
> still just write to the .old
>
> I know this sucks. I think the solution is to have a new reopen-logs
> message created so this can be used in logroate, and to have it used
> internally as I mentioned.
>
> Andrew Bartlett
2017 Dec 02
2
Log rotation issue
On Fri, 2017-12-01 at 16:06 +0530, Anantha Raghava via samba wrote:
> Hi,
>
> Continuing on the same subject, the VARIABLE SUBSTITUTIONS are not
> working. for example, I want to have the date & time attached to the
> samba log file. Hence I modified the smb.conf
>
> log file = /var/log/samba/samba.%T.log
>
> The file with name "samba.%T.log" gets
2016 Apr 28
1
Apache logs missing
...4 03:40 ssl_access_log-20160404
-rw-r--r-- 1 root root 4743540 Apr 10 03:04 ssl_access_log-20160410
-rw-r--r-- 1 root root 6064766 Apr 22 17:45 ssl_access_log-20160422
-rw-r--r-- 1 root root 35837 Apr 25 11:00 ssl_access_log-20160426
On the prod-server I added now "rotate 300" to /etc/logroate.d/httpd to prevent losing more logs. It keeps the logs now but doesn't compress them anymore.
Thanks
Regards Adrian
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of James Washington
Sent: Donnerstag, 21. April 2016 17:16
To: Cent...
2016 Apr 21
2
Apache logs missing
Hi all
I just saw that I miss some log files in /var/log/httpd. There is a gap in January/February2016, no logs are available for this period.
It seemed to work fine with the earlier logs as you can see.
Has someone an explanation for this?
It's a Centos 7.2 VM with Apache 2.4 running ownCloud only. Default logrotate config.
-rw-r--r-- 1 root root 3367604 Apr 20 16:12 ssl_access_log