Tag Archives: Logback

Sawing through the Java Loggers

Sawing through the Java Loggers I know what your thinking, “It’s just logging!”. This small, yet common part of our applications, provides developers, QA and troubleshooters with information to help in determining code execution sequences, inspecting data values and trouble … Continue reading

Posted in Jakarta Commons Logging, Java Util Logging, LogBack, Logging, SLF4J | Tagged , , , , , | 4 Comments

Enterprise Spring Best Practices – Part 1 – Project Config

Enterprise Spring Best Practices Series In part 1, let’s review project structure and configuration. Sections Project Directories Project Dependencies Smart Logging Running with Jetty and Tomcat Spring Configuration Files Complete Maven Config Valuable Maven Commands Further Reading Social Me Project … Continue reading

Posted in Eclipse, Jakarta Commons Logging, Java, Java Util Logging, Jetty, Log4J, LogBack, Logging, Maven, SLF4J, Spring, Spring Framework, Spring MVC, STS, Testing, Tomcat | Tagged , , , , , , | 10 Comments

tcServer Logging with Logback & SLF4J

Logback and SLF4J provide better logging for java applications. To configure VMware vFabric tcServer to take advantage of the speed and flexibility of Logback use the following steps as a starting point. Download the tcServer Developer Edition free: http://www.springsource.com/developer/tcserver This … Continue reading

Posted in Jakarta Commons Logging, Java, Java Util Logging, LogBack, Logging, SLF4J, Spring, Spring Insight, tcServer, Tomcat | Tagged , , , , , , | Leave a comment

Sending Beans as XML with JmsTemplate

Introduction We often want to send XML via web services. We may already have the schema or annotated JAXB2 classes configured in our application. What if we want to send the same format via JMS? By default Spring JMS is … Continue reading

Posted in ActiveMQ, Jakarta Commons Logging, Java Util Logging, JMS, JUnit, Log4J, LogBack, Logging, Maven, SLF4J, Spring, Spring Framework, Testing | Tagged , , , , , , , , , , , , , , , | 11 Comments

Updated Docs for Spring Roo

Want updated Roo Documentation? Want information on creating and publishing Roo Add-Ons? 1. Get the dev build of Spring Roo from: http://git.springsource.org/roo I am assuming here that you have created a /roo-dev directory. To build Roo, you should read the … Continue reading

Posted in felix, Git, LogBack, OSGi, Roo, Spring, Spring Framework, Spring Roo | Tagged , , , , , , , | Leave a comment

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

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