Commit 7abe0f29 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[FEATURE] Add GC Config for sg_rest log

This Feature adds the tx_sgrest_log table to the garbage
collection tasks, if you have a Task running for all tables, this one
will be active as soon as you clear the cache. Default lifetime is 30
parent 12b4e5cc
......@@ -372,3 +372,9 @@ Unfortunately the URL pattern of this extension isn't compatible with the Route
The Route Enhancer simply isn't able to map this properly.
Please use the .htaccess option explained above to beautify your REST urls in the meantime!
### Logging and Garbage Collection
This Extension uses the ususal TYPO3 Logging Mechanisms, per Default it uses the DB and the Table tx_sgrest_log.
It is recommended to have a cleaning Task Configured. If you use one which clears all tables by default, the log entries
will be cleared each 30 days.
* Copyright notice
* (c) sgalinski Internet Services (
* All rights reserved
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* The GNU General Public License can be found at
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU General Public License for more details.
* This copyright notice MUST APPEAR in all copies of the script!
static function () {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask']['options']['tables']['tx_sgrest_log'] = [
'dateField' => 'crdate',
'expirePeriod' => 30
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment