Announcement Announcement Module
Collapse
No announcement yet.
Logging configuration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X