[TYPO3-core] RFC: #15573: Disable deprecation log in config_default

Felix Kopp — PHORAX typo3-core at phorax.com
Wed Sep 1 15:20:23 CEST 2010


Trimming the file should be done externally via some kind of logrotation and backup.

The interaction with the filesystem is too heavy.
Probably only possible when logging to a database.


> (0041849)
> Ernesto Baschny (administrator) 
> 01.09.10 12:20

> Nice idea!
> But I fear that reading and writing the whole file over and over has a major performance impact.
> I would rather log the information using the registry (DB!), using a md5 hash of the line to quickly find an existing >entry in the registry. As information for a line I would expect:
> first_hit = tstamp
> last_hit = tstamp 
> counter = integer
> log_line = the current deprecation line
> And then of course some way to "display" the information, maybe a report for the Reports module. And an "ALERT" after >login (yellow box), if this registry contains anything.
> What do you think?
> Cheers,
> Ernesto


In that case a counter would be perfect to rate each and every entry by frequency (as relevance).




On 01.09.2010, at 11:58, Sebastian Michaelsen wrote:

> Am 27.08.10 12:22, schrieb Reinhard Führicht:
> 
>>>> But what about limiting the space consumption of this file? Maybe allow
>>>> only 200 entries in the file itself so that it stays rather small. Would
>>>> that be a solution?
>>> 
>>> IMO absolutly.
>>> Make it max 10mb or 20mb. This should be really no problem at all.
>> 
>> OK, if this is the way to come to a compromise, then I will have a look
>> and provide a patch.
> 
> I have another proposal which could keep the file size quite small and handy and give a good overview:
> http://bugs.typo3.org/view.php?id=15617
> 
> I think I could get my hands on it soon. Maybe we could collaborate on this Reinhard?
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core



More information about the TYPO3-team-core mailing list