I am new to struts and I would like to understand how do I handle logging for each layer(JSP/ActionForm, Action, DAO) of the application.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
Starting from the default logging config, I added the root{} block to turn on debug level logging.And I added a method for my controllers...
I am trying to configure the loggin to my web application. This is where I want my application to put the logs:
When I run my application with run-app, logging seems to work correctly. When 开发者_JS百科I deploy as a WAR in tomcat, all my logging configuration is ignored, and I only see
I have recently inherited some Java code and need to integrate it into a project that I am working on.My project is a service agent that processes and transforms XML messages.While looking through the
I configured the jboss-log4j.xml as you can see at the example. The problem is that app1 and app2 log files have completely the same content which is merged from both of them. It looks like the filter
I want have X number of log4j appenders, one to messages level in files, and all print in console. But I not get.
what is the best way of configuring Logging features on a rails project? I\'m looking for something like Log4J which is available to Rails. I have found log4r and it\'s conflicting built in Loggerclas
Edit 3: It\'s working! Long story short: In the glassfish lib folder there was: slf4j-api-1.5.8.jar and jlf4j-jdk14-1.5.8.jar! Anyways I moved them into a \"old\" folder created under lib and then cop