dev@glassfish.java.net

Re: favico.ico not found in StaticResourcesAdapter

From: Pramod Gopinath <Pramod.Gopinath_at_Sun.COM>
Date: Thu, 13 Mar 2008 19:50:29 -0700

Hi Jeanfrancois
   Had spoken to you on this 2 days back, but did not get around to
sending the code diffs.
Saw this issue on the dev alias today. Will forward my diffs to
dev_at_grizzly.dev.java.net for the changes that I am using on my setup.

Thanks
Pramod

Jeanfrancois Arcand wrote:
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>