I am using logj4 in a spring mvc application. I am working on in my logs on a tomcat 6 server and I am getting the following messages:
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
in the stdout files on the tom cat server. I want to be able to see messages while i access methods and objects. This is how i am using log4j:
class ...
private final Logger logger = Logger.getLogger(getClass());
logger.info("My message here");
For some reason i am not seeing any messages in my logs and i am seeing the above warnings