Hi,

Can you try to use -Djava.util.logging.config.file=<your logging.properties>? Or add the logging.properties to <jre_home>/lib? See [1] for more information.

[1] http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/LogManager.html

Thanks,
Raymond

From: fahim salim
Sent: Wednesday, October 01, 2008 7:44 AM
To: [email protected]
Subject: logging feature


Hi

I'd like to activate logging for  SCA runtime
In the sample helloworld-ws-reference there is a file logging.properties configured like this :

# Custom logging configuration for Tuscany samples
# By default, only INFO level logging is enabled and ALL messages get sent to the console # For more messages from the runtime, uncomment specific settings at the end of this file
handlers = java.util.logging.ConsoleHandler

#logging level of the root logger
.level=INFO

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

# Uncomment the next setting to get all Tuscany messages (this will be a lot)
org.apache.tuscany.level=INFO

When I run the sample , nothing appears for the log.

Does someone know how to use this feature ?

Thanks
Fahim

Reply via email to