Actions
Task #628
closedImprove LOG's agenda
Start date:
08/04/2017
Due date:
% Done:
100%
Estimated time:
Owner:
Description
- Add index to column formatted message - (create new column with index and copy current date into newly created),
- create new LRT, this LRT will remove old logs (days param),
- create new filed that will be constains raw errors (now is error only in table).
Related issues
Updated by Ondřej Kopr over 7 years ago
- Related to Task #574: New agenda for LOGs added
Updated by Ondřej Kopr over 7 years ago
- % Done changed from 0 to 60
- added new button to exception log table with show copyable content (modal + script area) - this raw source contains all rows,
- added new LRT (RemoveOldLogsTaskExecutor) (change sevices IdmLoggingEventService and IdmLoggingEventExceptionService to Read Write),
Updated by Ondřej Kopr over 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 60 to 90
add index into formatted_message table logging_event.
commits:
https://github.com/bcvsolutions/CzechIdMng/commit/04f7e1af13d668f16a24706a8283d3fec4c328b5
https://github.com/bcvsolutions/CzechIdMng/commit/09aebd194e2b9bbc2d6f4747f291bd13837bef6f
Radek could you make a review? Attention in this ticket is new flyway script. Create index on formatted_message can take up about 20 second ~200.000 rows.
Updated by Ondřej Kopr over 7 years ago
- Assignee changed from Radek Tomiška to Ondřej Kopr
+ implemented pageable to LTR.
Updated by Ondřej Kopr over 7 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Radek Tomiška over 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 90 to 100
I did test and review:
- I've removed change script with index - index was to large and exceeds default postgresql index size limit (8kb). We will find different solution in future, if will be needed.
- code looks nice, i moved LRT into audit package.
I merged it into develop. Thx!
Updated by Ondřej Kopr over 7 years ago
Actions