Help Required in Supressing the logs printed on console

Hi,

have creted the logger and the code is below.... when i log something using subscriberLogger it writes both on console and as well file.

I badly need to supress the logs which is written on console... and someone help me in this reagards.

subscriberLogger = Logger.getLogger("SubscriberLogger");

FileHandler fhsubscriber =new FileHandler("SubscriberLogMessages.log");

fhsubscriber.setFormatter(new SimpleFormatter());

subscriberLogger.addHandler((FileHandler) fhsubscriber);

subscriberLogger.setLevel(Level.INFO);

Cheers,

Jagadeesh

[713 byte] By [Jagadeesh_HSa] at [2007-11-27 2:37:10]
# 1
It's V urgent... can some one put some light on this....
Jagadeesh_HSa at 2007-7-12 2:57:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

have added this in static block of that class

System.setProperty("java.util.logging.config.file", "logging.properties");

and my logging.properties looks like this.

level= INFO

handlers= java.util.logging.FileHandler

java.util.logging.FileHandler.pattern= Kikzl1.%g.log

java.util.logging.FileHandler.formatter= java.util.logging.SimpleFormatter

Doing this has stopped logging on console.

Cheers,

Jagadeesh Sadashiv

Jagadeesh_HSa at 2007-7-12 2:57:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...