From: Ingo Renner Date: Wed, 4 Aug 2010 16:02:26 +0000 (+0000) Subject: Added feature #15305: Logging cache clearing, credits Stefan Sprenger X-Git-Tag: TYPO3_4-5-0alpha1~109 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/4fe263326a78f716e9665ed058839fb4ecf66aae Added feature #15305: Logging cache clearing, credits Stefan Sprenger git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8481 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/ChangeLog b/ChangeLog index 467f79093417..943a723c8a0e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-08-04 Ingo Renner + + * Added feature #15305: Logging cache clearing, credits Stefan Sprenger + 2010-08-03 Susanne Moog * Fixed bug #15304: csv export is limiting exported fields to 100 chars (thanks to Björn Pedersen) @@ -23,7 +27,7 @@ * Follow-up to bug #15188: Remove default greyed out effect for CEs (Thanks to Steffen Gebert) * Fixed bug #15295: Page treeFilter not re-applied after branch toggling (Thanks to Felix Kopp) - + 2010-07-29 Dmitry Dulepov * Fixed bug #13427: t3lib_div::cleanOutputBuffers() might loop forever (thanks to Stephan Seitz and Steffen Gebert) diff --git a/t3lib/class.t3lib_tcemain.php b/t3lib/class.t3lib_tcemain.php index 77266852ab93..f9a4c893358d 100644 --- a/t3lib/class.t3lib_tcemain.php +++ b/t3lib/class.t3lib_tcemain.php @@ -7432,6 +7432,8 @@ State was change by %s (username: %s) public function clear_cacheCmd($cacheCmd) { global $TYPO3_CONF_VARS; + $this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd)); + // Clear cache for either ALL pages or ALL tables! switch($cacheCmd) { case 'pages': diff --git a/typo3/sysext/belog/mod/index.php b/typo3/sysext/belog/mod/index.php index 7a6990e678fd..d2e9aa85a0c7 100755 --- a/typo3/sysext/belog/mod/index.php +++ b/typo3/sysext/belog/mod/index.php @@ -168,6 +168,7 @@ class SC_mod_tools_log_index { 0 => $GLOBALS['LANG']->getLL('any'), 1 => $GLOBALS['LANG']->getLL('actionDatabase'), 2 => $GLOBALS['LANG']->getLL('actionFile'), + 3 => $GLOBALS['LANG']->getLL('actionCache'), 254 => $GLOBALS['LANG']->getLL('actionSettings'), 255 => $GLOBALS['LANG']->getLL('actionLogin'), '-1' => $GLOBALS['LANG']->getLL('actionErrors') diff --git a/typo3/sysext/belog/mod/locallang.xml b/typo3/sysext/belog/mod/locallang.xml index 614b0dec4d00..3597ea9fe263 100755 --- a/typo3/sysext/belog/mod/locallang.xml +++ b/typo3/sysext/belog/mod/locallang.xml @@ -31,6 +31,7 @@ + @@ -93,6 +94,8 @@ + +