dev@glassfish.java.net

LogStrings vs LocalStrings

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Wed, 4 Aug 2010 10:36:36 -0400

Hi all,

Just sanity checking: Using StringManager or Strings to get i18n'd
text requires LocalStrings.properties, while LogDomains requires
LogStrings.properties. Is that correct?

So if I want to i18n my log calls but also provide some non-log text
(e.g., useful info in toString() method), then I need 2 separate
properties files?

This didn't occur to me until I tried using Strings.java in some code
that already had a logger....

Thanks,
Bobby