History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3300
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Phong Trinh
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

QuickBuild Maintenance does not purge old audit log entries

Created: 28/Nov/18 01:40 PM   Updated: 01/Dec/18 11:50 AM
Component/s: None
Affects Version/s: 8.0.25
Fix Version/s: 8.0.27

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive Server Log.zip (6.81 Mb)

Image Attachments:

1. Audit Entries.PNG
(586 kb)

2. Server Log - 1.PNG
(597 kb)

3. Server Log - 1.PNG
(647 kb)

4. Server Log - 2.PNG
(227 kb)

5. System Setting.PNG
(445 kb)
Environment: Linux Centos 7

 Description  « Hide
We set 'Audit Entry Preserve Days' of our QuickBuild server to 30 days, but the maintenance doesn't purge the log entries which older than these days. I queried the audit log, it still had log entries since May of 2017. This causes disk spaces issue, lengthy upgrade, system performance, ... Please looks into it as your earliest chance.

 Thank you in advance,

 All   Comments   Work Log   Change History      Sort Order:
Phong Trinh [28/Nov/18 01:57 PM]
Please let me know if you have any additional information.

Robin Shen [28/Nov/18 11:18 PM]
The audit log purge will happen at system maintenance schedule, which can be defined at "administration/system setting" page, and it is by default set to 1:00AM every night.

Phong Trinh [29/Nov/18 03:53 AM]
In "administration/system setting" page, I set 'Audit Entry Preserve Days' is 30 days. The audit entries which are older than 30 days should be deleted by the maintenance schedule, but they are not deleted.

Phong Trinh [29/Nov/18 04:04 AM]
Audit Entry Preserve Days is 30 days, but I queried the log entries which were older than 1 year old, but they are still existing in the system.

Robin Shen [30/Nov/18 12:08 AM]
Please check QB server log around 1:00AM to see if it contains below message:
Removing obsolete audit entries

And if yes, are there errors printed after that?

Phong Trinh [30/Nov/18 01:52 AM]
 Thank you for promptly responses, Robin.
 I looked into the server logs, and looks like the maintenance occurred, but it didn't delete the old audit logs. I attached the screenshots of the logs for your references. I will attach the log file as soon as I am in the office tomorrow..

Phong Trinh [30/Nov/18 02:14 AM]
I saw several messages: "Removing obsolete audit entries", but didn't any error after those.

Robin Shen [01/Dec/18 11:50 AM]
Turns out to be a bug. Fixed now in QB 8.0.27: