Bug #14420
closedPath in log output is truncated
0%
Description
One more bug found by user Foxpower in bug #0000526:
Found another bug: In this line
192.168.1.24 - - [23/Nov/2004:11:22:45 +0000] "GET /Demosite_01__Layo.../Home--310.html HTTP/1.1" 200 10766 "" "NewsGator/2.0 (http://www.newsgator.com; Microsoft Windows NT 5.1.2600.0; .NET CLR 1.1.4322.2032)"
you see the GET part truncated (...), the url is to short.
(issue imported from #M553)
Updated by Karsten Dambekalns over 19 years ago
This is no bug. See TSref, config.stat_titleLen: "The length of the page names in the path written to logfile/database". It defaults to 20. Set it to something higher (maximum is 100).
Lines 1607-1608 in class.t3lib_fe.php do the processing:
$len = t3lib_div::intInRange($this->config['config']['stat_titleLen'],1,100,20);
$pageName = str_replace('[path]', ereg_replace('[^\.[:alnum:]\/_-]','_',$this->sys_page->getPathFromRootline($temp,$len)).'/' ,$pageName);
Updated by Michael Stucki over 19 years ago
Fine with me, so let's close this one.