-
Oct 6th, 2010, 04:33 PM
#1
Logging configuration
Hi,
i am new to spring DM server and i built 2 bundle projects (provider and consumer) using sprint tool suite.in there i used logger statement by using log4j as well as slf4j ( i did it becouselog4j didn't print anything in the console and the log files) can you please explain how to logged a message to the log file. my code is like this -
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private static Logger logger = LoggerFactory.getLogger(ServicesConsumingActivator .class);
logger.info("test");
logger.debug("debug");
can any one give me the steps that i need to follow?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules