[TYPO3-core] RFC: utf8 in log files

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Dec 11 11:10:44 CET 2006


Martin Kutschker schrieb:
> Hi!
> 
> This is a SVN patch request.
> 
> To get meaningful results in web analyzers for non-latin charsets the 
> URL should be encoded in UTF8. The attached patch allows this.
> 
> If you set config.stat_apache_niceTitle to 'utf-8' it will not do a 
> transliteration (which is quite pointeless for eg Chinese) but will 
> store the path and page title in UTF8.
> 
> Additionally I have added config.stat_pageLen. Works like 
> config.stat_titleLen, but affects lenght of the actual (leaf) page 
> title, not the length of a (node) page title in the path. Before this 
> change the page title length was fixed to 30, while the path titles 
> could be configured up to 100 chars.
> 
> Property: stat_apache_niceTitle
> Data type: boolean / string
> Description:
> If set, the URL will be transliterated from the renderCharset to ASCII 
> (eg ä => ae, à => a, α => a), which yields nice and readable page titles 
> in the log. All non-ASCII characters that cannot be converted will be 
> changed to underscores.
> If set to 'utf-8', the page title will be converted to UTF-8 which 
> results in even more readable titles, if your log analyzing software 
> supports it.
> 
> Property: stat_pageLen
> Data type: int 1-100
> Description:
> The length of the page name (at the end of the path) written to the 
> logfile/database.
> 
> If you're quick with a review, Ingmar can add this to 4.1 beta1

REMINDER

Masi


More information about the TYPO3-team-core mailing list