
Signature
Knute Johnson
email s/nospam/knute/
> When I create a Logger it appears to have a ConsoleHandler already
> attached but if I get a list of handlers it is not there.
Remember to look among parent handlers too.
> Any way to turn off the default messages to the console?
This handler is by default defined in the logging.properties library
file for the JRE in question, which you are supposed to edit to suit
your needs. However, if you really want to it should indeed be possible
to programmatically find and remove the handler on the root logger
(Logger.getLogger("")).
Mvh,

Signature
Filip Larsen
Knute Johnson - 14 Nov 2005 02:55 GMT
>>When I create a Logger it appears to have a ConsoleHandler already
>>attached but if I get a list of handlers it is not there.
[quoted text clipped - 10 lines]
>
> Mvh,
Thanks, I'll try that.

Signature
Knute Johnson
email s/nospam/knute/
Knute Johnson - 14 Nov 2005 17:47 GMT
>>When I create a Logger it appears to have a ConsoleHandler already
>>attached but if I get a list of handlers it is not there.
[quoted text clipped - 10 lines]
>
> Mvh,
That worked. I may have made a mistake before when I tried to get the
root logger from my logger. Who knows.
Thanks again,

Signature
Knute Johnson
email s/nospam/knute/