Dear all, Restlet uses as its logging system the Java Logging System provided with the JDK. So in order to vary its verbosity it's needed to configure that system by providing a logging.properties like the one located in the JRE/lib.
This properties file is ether passed as a system property through a -D parameter to the JVM, or explicitly loaded and set using LogManager.getLogManager().readConfiguration(); In order load this configuration file I did the following: I placed a logging.properties file in WEB-INF and loaded it in the init() method of a subclass of the Restlet Servlet. Now there are several possibilities wrt to where to place the logging.properties and how to actually name it. 1) WEB-INF/logging.properties 2) The resources of the REST module 3) XWiki Core. I am +1 for 1 (maybe we can call it java-logging.properties) WDYT? Cheers, Fabio _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

