I've noticed all of a sudden that some of the access and error logs as configured (combined) are now starting to truncate the HTTPrequested information by replacing information with dots! (...) . Example: access.log IPADDRSSS - - [21/Dec/2007:08:04:42 -0500] "GET /blue/red/gree....print.html HTTP/1.1" 304 - "REFERER" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" the actual should be something like.. /blue/red/green/foryou/someplaceinamerica/how_to/print.html Something similar shows up also in the error.log where the requested URL is truncated again and it broken up with dots in between. the above was edited to protect the innocent I'd like to see the complete requested URL, etc. but Apache seems to be truncating the HHTPRequestedURL information. I've searched through the documents and can not find a reference to the REFEER length or any "log length". has anyone seen this ? Is there a way to stop this from happening ? thanks in advance. Nitch
All of a sudden? What changed? What is the last log that you looked at that had the complete line? Something interesting (to me anyway)...your post was created a little over 18 hours ago, and when I searched google for the term - apache log length - , this post was listed on page two. Damn, that was quick!
Yes, "all of a sudden" only because.... the domain in question only a few days ago started to have deeper directories. before is was more simple... all off of the root ! oh well... its the httpRequest and the referer fields that are doing this . If a request comes in from a URL larger than normal (like someone is calling a document or a picture from me to their web page)... this happens. Otherwise it seems to be ok. It might be something internal to Apache but it might be in a MOD ?? I'm not sure WHERE its doing this. thanks for the quick response.. and thanks for the fast indexing!! yes on the internet... miracles can happen! nitch
Look in your httpd.conf for the "LogFormat". Here is what mine says: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined Code (markup): See here for more information: http://httpd.apache.org/docs/1.3/mod/mod_log_config.html