[TYPO3-core] Strategy for deprecation log
typo3 at t3node.com
Mon Apr 1 14:57:01 CEST 2013
On 01.04.2013 13:39 Markus Klein wrote:
> Drawbacks of this approach:
> * bad performance
>> > Do you have numbers how bad this really is? IMO it is not so bad, because the file is rather small now.
Opening a file means loading the content into memory. This can be
avoided. However, let me rephrase it to:
* worse performance
> * permanently monitoring the deprecation log by running "tail -f" on the cli won't work for duplicates
>> > True, but I personally have no usecase for "tail -f". Could you elaborate on how you use this?
Well, at least Christian Kuhn uses tail when working on the core. Maybe
he wants to share his practice.
> 2) optionally checks for duplicates using the sys_registry
>> > IMHO a NO GO. Please don't use any database stuff in deprecation handling.
TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node
More information about the TYPO3-team-core