diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
| commit | c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch) | |
| tree | ef665e7018377f53612ac2751dcaea35a1c587b6 /logrotate.conf | |
| parent | 39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff) | |
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'logrotate.conf')
| -rw-r--r-- | logrotate.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/logrotate.conf b/logrotate.conf new file mode 100644 index 0000000..4b0bfe7 --- /dev/null +++ b/logrotate.conf @@ -0,0 +1,17 @@ +compress +missingok +notifempty + +/var/log/xen/xen-hotplug.log { + rotate 2 + size 100k + copytruncate +} + +/var/log/xen/xl-*.log /var/log/xen/qemu-dm-*.log /var/log/xen/console/*.log { + rotate 4 + dateext + dateformat -%Y%m%d-%H%M + size 2M + copytruncate +} |
