Mahout logs via SLF4J, which is a sort of meta-logger. It logs to whatever
log system you have in your classpath (by adding certain SLF4J bindings). So
you configure *that* logging system.

By default I think it does nothing, so if you see the messages, you've got
some logging bindings going, maybe the Java SDK logger? That's configured
with a logging.properties file or command line params, and you can check the
java.util.logging javadoc for detail.

On Tue, Oct 5, 2010 at 12:22 AM, Chris Schilling
<[email protected]>wrote:

> Hello Mahout Users!
>
> I am fairly new to Java.  I am working through the examples in the book
> MIA.  When I run my simple recommender program in eclipse, I see a lot of
> logging messages.  For instance:
>
> Oct 4, 2010 4:03:36 PM org.slf4j.impl.JCLLoggerAdapter info
> INFO: Evaluated with user 633 in 22ms
> Oct 4, 2010 4:03:36 PM org.slf4j.impl.JCLLoggerAdapter info
> INFO: Precision/recall/fall-out: 0.006666666666666665 /
> 0.004873294346978557 / 7.504206515457761E-4
> Oct 4, 2010 4:03:36 PM org.slf4j.impl.JCLLoggerAdapter info
> INFO: Processed 943 users
>
> So, easy question:  Is it possible to set the logging levels with an xml or
> properties file? How do I go about this?
>
> Thanks
> Chris S.
>
>

Reply via email to