Project

General

Profile

Actions

Bug #14420

closed

Path in log output is truncated

Added by Michael Stucki almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-11-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14419: Log writes wrong pathsClosedMichael Stucki2004-11-26

Actions
Actions #1

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);

Actions #2

Updated by Michael Stucki over 19 years ago

Fine with me, so let's close this one.

Actions

Also available in: Atom PDF