You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by maven apache <ap...@gmail.com> on 2010/10/29 13:24:33 UTC

tomcat log format disable the ipv6 format

Here are three log exmaples:

127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html
HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
2.0.50727)"


0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
/docs/images/tomcat.gif HTTP/1.1" 200 1934
"http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"


0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
/docs/images/asf-logo.gif HTTP/1.1" 200 7279
"http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"

 The first is correct,however the ip of the second and the third is ipv6
format, how to avoid this?

Re: tomcat log format disable the ipv6 format

Posted by Mark Thomas <ma...@apache.org>.
On 29/10/2010 13:49, maven apache wrote:
> http://osdir.com/ml/users-tomcat.apache.org/2010-05/msg00315.html
> From this thread, I want to set the connect address format to :0:0:0:0

Read that thread again, that is not the value you should be using.

> however I can not find this attribute at:
> 
> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

Look harder.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat log format disable the ipv6 format

Posted by maven apache <ap...@gmail.com>.
http://osdir.com/ml/users-tomcat.apache.org/2010-05/msg00315.html
>From this thread, I want to set the connect address format to :0:0:0:0

however I can not find this attribute at:

http://tomcat.apache.org/tomcat-6.0-doc/config/http.html


2010/10/29 Mark Thomas <ma...@apache.org>

> On 29/10/2010 13:06, maven apache wrote:
> > But I am using win7 now,so I do not know how to disable the ipv6,
>
> That would be a question for a Windows support forum if you want to
> disable it globally.
>
> To control which address Tomcat listens on, read the docs or search the
> archives.
>
> Mark
>
> > also I *can
> > not* control the user.
> >
> >>
> >> Mark
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: tomcat log format disable the ipv6 format

Posted by Mark Thomas <ma...@apache.org>.
On 29/10/2010 13:06, maven apache wrote:
> But I am using win7 now,so I do not know how to disable the ipv6,

That would be a question for a Windows support forum if you want to
disable it globally.

To control which address Tomcat listens on, read the docs or search the
archives.

Mark

> also I *can
> not* control the user.
> 
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat log format disable the ipv6 format

Posted by maven apache <ap...@gmail.com>.
2010/10/29 Mark Thomas <ma...@apache.org>

> On 29/10/2010 12:24, maven apache wrote:
> > Here are three log exmaples:
> >
> > 127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html
> > HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html"
> > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
> > 2.0.50727)"
> >
> >
> > 0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
> > /docs/images/tomcat.gif HTTP/1.1" 200 1934
> > "http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
> > 6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
> >
> >
> > 0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
> > /docs/images/asf-logo.gif HTTP/1.1" 200 7279
> > "http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
> > 6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
> >
> >  The first is correct,however the ip of the second and the third is ipv6
> > format, how to avoid this?
>
> Don't connect to Tomcat using IPv6.
>
I did not intend to.

But I am using win7 now,so I do not know how to disable the ipv6,also I *can
not* control the user.

>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: tomcat log format disable the ipv6 format

Posted by Mark Thomas <ma...@apache.org>.
On 29/10/2010 12:24, maven apache wrote:
> Here are three log exmaples:
> 
> 127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html
> HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html"
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
> 2.0.50727)"
> 
> 
> 0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
> /docs/images/tomcat.gif HTTP/1.1" 200 1934
> "http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
> 6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
> 
> 
> 0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET
> /docs/images/asf-logo.gif HTTP/1.1" 200 7279
> "http://localhost:8000/docs/" "Mozilla/5.0 (Windows; U; Windows NT
> 6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
> 
>  The first is correct,however the ip of the second and the third is ipv6
> format, how to avoid this?

Don't connect to Tomcat using IPv6.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org