Index: branches/5.2.x/core/install/upgrades.sql =================================================================== diff -u -N -r16748 -r16754 --- branches/5.2.x/core/install/upgrades.sql (.../upgrades.sql) (revision 16748) +++ branches/5.2.x/core/install/upgrades.sql (.../upgrades.sql) (revision 16754) @@ -2958,3 +2958,9 @@ ALTER TABLE Semaphores CHANGE MainIDs MainIDs TEXT NULL; ALTER TABLE Users ADD KEY Email (Email); + +INSERT INTO SystemSettings VALUES(DEFAULT, 'SystemLogCodeFragmentPathFilterRegExp', '#(modules/custom|system/cache/modules/custom)/.*#', 'In-Portal', 'in-portal:configure_advanced', 'la_section_SettingsLogs', 'la_config_SystemLogCodeFragmentPathFilterRegExp', 'text', NULL, NULL, 65.05, 0, 1, NULL); +ALTER TABLE SystemLog + ADD COLUMN `LogCodeFragment` longtext NULL AFTER `LogSourceFileLine`, + ADD COLUMN `LogCodeFragmentsRotated` tinyint(4) NOT NULL DEFAULT '0' AFTER `LogCodeFragment`; +ALTER TABLE SystemLog ADD INDEX `TIMESTAMP_CODE_FRAGMENTS_ROTATED` (`LogTimestamp`,`LogCodeFragmentsRotated`) USING BTREE;