dev@glassfish.java.net

Re: favico.ico not found in StaticResourcesAdapter

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 13 Mar 2008 19:43:54 -0400

Hi,

will be fixed next time we integrate Grizzly...

A+

-- Jeanfrancois

Ken Paulsen wrote:
>
> I think the problem is that web browsers request that file every
> request. This message belongs in the access log, it doesn't need to be
> INFO in the server.log.
>
> Ken
>
> Lloyd L Chambers wrote:
>> Could whoever is responsible for this log message please consider
>> whether it's necessary as "INFO"?
>>
>> Mar 13, 2008 3:32:05 PM com.sun.grizzly.tcp.StaticResourcesAdapter
>> service
>> INFO: File not found /v3/run/domains/domain1/docroot/favicon.ico
>>
>>
>> It occurs every hit. I don't think the world needs to know if
>> 'favicon.ico' is there or not.
>>
>> The code seems to be in StaticResourcesAdapter:
>>
>> if (!resource.exists()) {
>> SelectorThread.logger().log(Level.INFO,"File not found " + resource);
>> res.setStatus(404);
>> return;
>>
>>
>>
>>
>>
>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>