[TYPO3-core] set_no_cache() usage is logged as warning

Philipp Gampe philipp.gampe at typo3.org
Sun Dec 2 13:25:47 CET 2012


Hi Stefan,

Stefan Neufeind wrote:

> One other option I see is to decrease severity in case the the request
> is not FE-usage or if the request is done by a logged-in BE-user
> (previewing a page, ...). That would imho also qualify as valid for just
> informational logging.

How about combining that:
If valid backend login and a parameter is set, then do reduce warning level.

That way we could keep calls like &no_cache=1 or config.no_cache=1 as 
warning, but do not have warnings for BE usage.

Cheers
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!



More information about the TYPO3-team-core mailing list