Here's the code that's logging the second value after the status code…

        // Append the received size

        sb.append('\t');


        if (request.getEntity() == null) {

            sb.append('0');

        } else {

            sb.append((request.getEntity().getSize() == -1) ? "-" : Long

                    .toString(request.getEntity().getSize()));

        }


From: James <[email protected]<mailto:[email protected]>>
Reply-To: discuss 
<[email protected]<mailto:[email protected]>>
Date: Sat, 1 Oct 2011 05:18:03 -0500
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Log Question

Hi,

I am just wondering what these numbers represent?

INFO: 2011-10-01        09:26:36        192.148.117.110 -       -       80      
GET     /FLc    -       307     0       -       7       http://xx.xx    
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) 
AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 
Safari/6533.18.5       -

INFO: 2011-10-01        09:28:38        124.120.249.68  -       -       80      
GET     /FLc    -       307     0       0       4       http://xx.xx    
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_5 like Mac OS X; en-us) 
AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 
Safari/6533.18.5 -

INFO: 2011-10-01        09:40:02        110.49.113.242  -       -       80      
GET     /Fbk    -       307     0       0       11      http://xx.xx    
Mozilla/5.0 (Linux; U; Android 2.2; en-us; GT-I9000 Build/FROYO) 
AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1       -

I understand that 307 is a temp redirect, but what are the following numbers?

The problem I am actually happening is that the first row is a mobile phone 
browser which is failing to redirect, the two proceeding log rows work fine.

Can anyone help?

Thanks
James
This message and any included attachments are intended only for the addressee. 
The information contained in this message is confidential and may constitute 
proprietary or non-public information under international, federal, or state 
laws. Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2848694

Reply via email to