[MCOL-4319] Expand logrotate script for Columnstore to include cpimport logs Created: 2020-09-21 Updated: 2021-01-25 Resolved: 2021-01-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | 5.5.2 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Todd Stoffel (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Logging | ||
| Sprint: | 2021-1, 2021-2 |
| Description |
|
Maybe we should add a section like this to /etc/logrotate.d/columnstore:
|
| Comments |
| Comment by Daniel Lee (Inactive) [ 2021-01-05 ] |
|
Build tested: 5.6.1-1 (drone #1437) The following sections have been added. /var/lib/columnstore/data/bulk/job/*.xml { missingok daily rotate 1 compress maxage 30 nocreate }/var/lib/columnstore/data/bulk/log/*.err { missingok daily rotate 1 compress maxage 30 nocreate } /var/lib/columnstore/data/bulk/log/*.log { missingok daily rotate 1 compress maxage 30 nocreate } |
| Comment by Daniel Lee (Inactive) [ 2021-01-25 ] |
|
Build verified: 5.5.2 (b1552), develop b1546 The fixed also checked into the develop branch centos8:root~]# cat /etc/logrotate.d/columnstore
/var/log/mariadb/columnstore/*.log { missingok rotate 7 daily dateext copytruncate olddir /var/log/mariadb/columnstore/archive su root root }/etc/columnstore/Columnstore.xml { daily dateext copy olddir /etc/columnstore }/var/lib/columnstore/data/bulk/job/*.xml { missingok daily rotate 1 compress maxage 30 nocreate }/var/lib/columnstore/data/bulk/log/*.err { missingok daily rotate 1 compress maxage 30 nocreate } /var/lib/columnstore/data/bulk/log/*.log { missingok daily rotate 1 compress maxage 30 nocreate } |