[TYPO3-core] Gremlin #187: config.stat_apache_pagenames code [type]ends up empty (Clean the logfile writing)

Martin Kutschker Martin.Kutschker at blackbox.net
Wed Oct 26 15:30:47 CEST 2005

Michael Stucki <michael at typo3.org> writes on 
Wed, 26 Oct 2005 14:29:07 +0200 (METDST):
1) While working on this I also added a new feature: If the logfile

> does not exist yet, TYPO3 will try to automatically create it.
> Works fine here.


> 2) During discussion we found out that logfile_write (mode how logs
> should be written - either "echo" or "fputs") is obsolete:
> Currently, files are written by default using exec('echo ...')
> although fputs would work just fine.
> Because "echo" does only make sense if open_basedir is set, I first
> thought I keep this option. However, there is an is_file check which
> would never
> work anyway if open_basedir was used. So removing
> $TYPO3_CONF_VARS['logfile_write'] seems to be just fine!

Does it make sense to omit the is_file check to use echo for open_basedir?

Anyway, fputs should be the default.


More information about the TYPO3-team-core mailing list