Blog

LogBox 1.2 Released!

Luis Majano March 19, 2010

Spread the word

Luis Majano

March 19, 2010

Spread the word


Share your thoughts

On the spirit of non-stop releases, here is LogBox version 1.2.  Apart from some bug fixes we have squeezed in some great new functionality, especially when dealing with configuring LogBox and portability. Check out our milestone tickets for further review. Version 1.2 Tickets
  • Added some new methods to the LogBoxConfig object: resetAppenders(), resetCategories and resetRoot() to reset some configurations.
  • Fixes on appender declarations and layouts
  • Addition of the LogBox DSL to coldbox configuration file, so now you can configure logbox via a cool DSL
  • Ability to configure LogBox via a simple CFC with a simple configure() method and our cool DSL
The major portion of this release is three words "Portabiity in Style".  We wanted to add a new way to configure LogBox in ColdBox style, a cool data definition DSL. Of course, our documentation is updated and now online: http://wiki.coldbox.org/wiki/LogBox.cfm#LogBox_DSL. Here is a little tast of the DSL: function configure(){ logBox = { // Appenders appenders = { appenderName = { class="class.to.appender", layout="class.to.layout", properties={ name = value, prop2 = value 2 } }, // Root Logger root = {levelMin="FATAL", levelMax="DEBUG", appenders="*"}, // Granualr Categories categories = { "coldbox.system" = { levelMin="FATAL", levelMax="INFO", appenders="*"}, "model.security" = { levelMax="DEBUG", appenders="console,twitter"} } // Implicit categories debug = ["coldbox.system.interceptors"], info = ["model.class", "model2.class2"], warn = ["model.class", "model2.class2"], error = ["model.class", "model2.class2"], fatal = ["model.class", "model2.class2"], off = ["model.class", "model2.class2"] }; }

Add Your Comment

Recent Entries

ColdBox 7.2.0 Released

ColdBox 7.2.0 Released

ColdBox, a widely used development platform for ColdFusion (CFML), has unveiled version 7.2. Packed with compelling new features, bug fixes, and enhancements, this release is designed to empower developers by boosting productivity, refining scheduled task capabilities, and enhancing the overall reliability and efficiency of application development. This article will delve into the key highlights of ColdBox 7.2 and elucidate how these advancements can positively impact developers in their daily coding endeavors.

Luis Majano
Luis Majano
November 20, 2023
Into the Box 2023 Series on CFCast

Into the Box 2023 Series on CFCast

Excitement is in the air as we unleash the highly anticipated ITB 2023 series exclusively for our valued CFCast subscribers – and the best part? It's FREE for CFCast members! Now is the perfect time if you haven't joined the CFCast community yet. Plus, we've got an incredible End-of-Year deal that's too good to miss

Maria Jose Herrera
Maria Jose Herrera
November 20, 2023
Ortus Deals are Finally Here!

Ortus Deals are Finally Here!

The much-anticipated Ortus End-of-the-Year Sale has arrived, and it's time to elevate your development experience! Whether you're a seasoned developer, a tech enthusiast, or someone on the lookout for top-notch projects, Ortus has something special in store for you. Brace yourself for incredible discounts across a wide array of products and services, including Ortus annual events, books, cutting-edge services, and more.

Maria Jose Herrera
Maria Jose Herrera
November 15, 2023