Skip to content

Commit

Permalink
Merge pull request #5507 from psafont/woodchuck
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Mar 13, 2024
2 parents 4e0d37c + 51521bf commit 667a9d2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 39 deletions.
4 changes: 1 addition & 3 deletions scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ install:
$(IPROG) xapi-health-check $(DESTDIR)$(LIBEXECDIR)
$(IPROG) mail-alarm $(DESTDIR)$(LIBEXECDIR)
$(IDATA) audit-logrotate $(DESTDIR)/etc/logrotate.d/audit
$(IDATA) xapi-logrotate.conf $(DESTDIR)$(ETCXENDIR)
$(IPROG) xapi-logrotate.sh $(DESTDIR)$(LIBEXECDIR)
$(IDATA) xapi-logrotate.conf $(DESTDIR)/etc/logrotate.d/xapi
$(IPROG) xapi-tracing-log-trim.sh $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xapi-wait-init-complete $(DESTDIR)$(OPTDIR)/bin
$(IPROG) xapi-autostart-vms $(DESTDIR)$(OPTDIR)/bin
Expand Down Expand Up @@ -158,7 +157,6 @@ install:
$(IPROG) certificate-check $(DESTDIR)/etc/cron.daily/
$(IPROG) certificate-refresh $(DESTDIR)/etc/cron.hourly/
mkdir -p $(DESTDIR)/etc/cron.d
$(IDATA) xapi-logrotate.cron $(DESTDIR)/etc/cron.d/xapi-logrotate.cron
$(IDATA) xapi-tracing-log-trim.cron $(DESTDIR)/etc/cron.d/xapi-tracing-log-trim.cron
mkdir -p $(DESTDIR)/opt/xensource/gpg
# templates
Expand Down
20 changes: 0 additions & 20 deletions scripts/xapi-logrotate.conf
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
# see "man logrotate" for details
# rotate log files daily
daily

# keep one months worth of backlogs
rotate 31

# create new (empty) log files after rotating old ones
create

# compress log files
compress
delaycompress

# All the general settings above are copied from /etc/logrotate.conf
# as installed by the logrotate RPM.

/var/log/xensource.log {
missingok

Expand All @@ -26,9 +9,6 @@ delaycompress
# When rotating, remove any rotated logs older than this many days.
maxage 31

# Rotate when file exceeds this size, even if we rotated it today already.
maxsize 100M

# Keep up to this many old files.
# (When considering total size, expect a compression factor around 10-20.)
rotate 100
Expand Down
3 changes: 0 additions & 3 deletions scripts/xapi-logrotate.cron

This file was deleted.

13 changes: 0 additions & 13 deletions scripts/xapi-logrotate.sh

This file was deleted.

0 comments on commit 667a9d2

Please sign in to comment.