Re: Multiple foreground colors in AWT TextArea?
Richard Maher wrote:
"Lew" <noone@lewscanon.com> wrote in message
news:h5uigb$7j3$3@news.albasani.net...
Richard Maher wrote:
(But I'll be skipping the log4j bloatware)
Lew wrote ...
Harsh words for something so utile.
Richard Maher wrote:
Perhaps. (Coming from someone who's just got an AccessControlException when
trying to setLevel(Level) on a Logger from an unsigned Applet :-( )
Sounds like an applet problem rather than a logger one.
Do you have and example somewhere of an unsigned applet setting the Level on
a named java.util.logging.Logger that doesn't result in an
AccessControlException?
You can't do that from an applet with jul.
But it is not a problem for log4j.
Makes sense I suppose if the named loggers and there levels are static.
I don't understand.
I was trying to understand the rationale behind the apparent restriction.
Perhaps preventing me from masking out other logs? But if it's a bug in my
code rather than a sandbox restriction then I'm happy to change!
SUN put an explicit security check in the jul code.
Arne