Apache access.log and error.log dots

Discussion in 'Apache' started by nitchimon, Jan 23, 2008.

  1. #1
    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
     
    nitchimon, Jan 23, 2008 IP
  2. Krnl

    Krnl Peon

    Messages:
    60
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #2
    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! :)
     
    Krnl, Jan 24, 2008 IP
  3. nitchimon

    nitchimon Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    nitchimon, Jan 24, 2008 IP
  4. Krnl

    Krnl Peon

    Messages:
    60
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Krnl, Jan 25, 2008 IP