Skip to content

Commit

Permalink
[TASK] Add indexes for table sys_log
Browse files Browse the repository at this point in the history
This commit adds two new keys to table sys_log:

- channel
- level

Resolves: #101707
Releases: main, 12.4
Change-Id: Iddc61daf268573c658a068a655b97c482e438c31
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80660
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
infabo authored and lolli42 committed Aug 23, 2023
1 parent cddee3b commit e58a860
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typo3/sysext/core/ext_tables.sql
Expand Up @@ -379,7 +379,9 @@ CREATE TABLE sys_log (
KEY user_auth (type,action,tstamp),
KEY request (request_id),
KEY combined_1 (tstamp, type, userid),
KEY errorcount (tstamp,error)
KEY errorcount (tstamp,error),
KEY channel (channel),
KEY level (level)
) ENGINE=InnoDB;

#
Expand Down

0 comments on commit e58a860

Please sign in to comment.