Tag Archives: Log4J-old

LogBack Logger Addon for Roo

Want faster, flexible & more robust logging? Have you looked at LogBack by the creator of Log4J yet??? Introducing the LogBack Addon for Roo Features Adds the command to the Roo shell – logback setup Creates a New File: src/main/resources/logback.xml … Continue reading

Posted in Jakarta Commons Logging, Java, Java Util Logging, Log4J, LogBack, Maven, Roo, SLF4J, Spring, Spring Roo | Tagged , , , , , , , , | Leave a comment

Configuring LogBack Logging in Spring & Spring Roo

LogBack is the more versatile logging strategy created by the same person that created log4j. Use the following steps to configure your Roo 1.1 project to use LogBack. See Also: Reasons to Switch to LogBack 1. Create a logback.xml file … Continue reading

Posted in LogBack, Logging, Maven, Roo, SLF4J, Spring Roo | Tagged , , , , , , , | 1 Comment

Troubleshooting URL Rewriting in Spring Roo

Spring Roo automatically installs URL Rewriting for your application. If we want to configure another servlet in our web.xml file, we may need make configuration changes to the urlrewrite.xml file. 1. Enable Logging Before you jump into log4j.properties file, you … Continue reading

Posted in Log4J, Roo, SLF4J, Spring, Spring Framework, Spring Roo | Tagged , , , , , , , , | Leave a comment

View Hibernate SQL with Data Values with Elvyx

Want to see SQL with values in Hibernate? One of the early problems I had to work on in a Spring application was with Hibernate. Since I was not sure what SQL was being generated by Hibernate, I turned on … Continue reading

Posted in Hibernate, Log4J, Logging, SLF4J, Spring, Spring Framework | Tagged , , , , , , , | Leave a comment