dev@glassfish.java.net

Re: Am i missing something...

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Thu, 4 Aug 2011 10:56:34 -0400

On Aug 4, 2011, at 1:47 AM, vince kraemer wrote:
> [...]
>
> java.util.logging.Logger.getLogger("foo").log(Level.FINE, "text.that.looks.like.a.message.key", new Object[] { a, b, c });
>
> I think that will just put the message

See:

http://download.oracle.com/javase/6/docs/api/java/util/logging/Logger.html#log(java.util.logging.Level, java.lang.String, java.lang.Object[])

That message that looks like a key is really a key, but if the resource bundle can't be found then it will be output as-is.

Cheers,
Bobby