From: Mike B. <mb...@Ga...> - 2005-04-21 10:08:09
|
Ducloux Victor wrote: > Thanks for the answer .... i had already read that page. well I don't > know but would like to learn how to use commons-loggings. > > Since I don't know how to use that i wanted to do like told on that > page, meaning i added this line : > System.getProperties().put("org.apache.commons.logging.simplelog.defaultlog", > "trace"); > > But where does this log go ? on the console ? or on a certain file, > and if yes where is that file stored ???? It all depends which logger you are using. If you haven't explicitly configured anything then it will be going to standard out which is usually the console. If you have configured the logger you are using (configuration is different for each one) then the output will be going to whatever has been configured. Information on configuring commons-logging can be found here -> http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html Does this help? -- Mike Bowler President, Gargoyle Software Inc. Website: http://www.GargoyleSoftware.com Weblog : http://www.SphericalImprovement.com/blogs/mbowler/ |