dev@glassfish.java.net

Re: favico.ico not found in StaticResourcesAdapter

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 13 Mar 2008 15:50:14 -0700

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
>