The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'logbox'

 

Ortus Joins Patreon, Help Sponsor Open Source

Luis Majano
Aug 22, 2016

 

We are excited to announce we have joined !

Sponsor Us
 

At Ortus Solutions we are known for building open source projects for the ColdFusion (CFML) community such as ColdBox, CommandBox, ContentBox Modular CMS, ForgeBox and many more. All of those products are licensed under the Apache 2 license and are completely FREE to use and extend.

 

However, the amount of effort needed to maintain and develop new features for all projects is not sustainable without proper financial backing. This is where you can come in and help support Ortus Open Source Software by pledging on Patreon. We have listed a bunch of options for you to sponsor Ortus Open Source Projects with lots of rewards like getting awesome recognition and some great discounts, swag and t-shirts. By pledging as little as $10 a month, you can contribute to this great cause and allow Ortus Open Source to have faster and ongoing development cycles. Pledge more and you can even be part of our product roadmap planning sessions.

 

If you run a business and are using Ortus Open Source software in a revenue generating product or service, it makes sense to sponsor Ortus Open Source Software development: it ensures the project that your product/services use stays healthy and actively maintained. If you are an individual user and have enjoyed the productivity of our Open Source Software tools, consider donating as a sign of appreciation :).

Sponsor Us
 

CacheBox, CFCouchbase, ColdBox MVC, ColdFusion, CommandBox, Community, ContentBox CMS, Elixir, ForgeBox, LogBox, News, Relax, WireBox 0

ColdBox 4 Book has arrived

Luis Majano
May 04, 2015

 

We are excited to finally announce the availability of the ColdBox 4 printed and kindle book. Enjoy!

 

Books, CacheBox, ColdBox MVC, CommandBox, ContentBox CMS, LogBox, MockBox, TestBox, WireBox 0

Book Release Galore!

Luis Majano
Apr 24, 2015

 

We are so excited to announce the general availability of 5 new Ortus Books in print and kindle format about our products.  We have been hard at work to produce high quality documentation and transition all our documentation to book format.  We only have two more in the works right now with a target release of May (ColdBox + ContentBox).  So without further ado, here are the 5 new books for your reading pleasure!

 

Books, CacheBox, ColdBox MVC, CommandBox, ContentBox CMS, LogBox, MockBox, TestBox, WireBox 0

LogBox Documentation Book Released

Luis Majano
Mar 11, 2015

 

We are proud to announce the general availability of the new LogBox 2.0.0 documentation in book format.  The book can be read online and downloaded for Free for all types of readers and mobile devices.  Enjoy!

 

LogBox 0

ColdBox 4.0: What We Kept

Nathaniel Francis
Feb 20, 2015

 

ColdBox 4.0 is a major release for the ColdBox line. The most major since its original release in June 2006. To boost efficency and open up options, we've removed a lot of non-necessary items from the core installation and made them available through modular architecture instead. However, there are some thing that we've kept - and for good reason. This post discusses what we kept in the core of ColdBox 4.0 and why.

CacheBox, ColdBox MVC, LogBox, Tips & Tricks, WireBox 0

ColdBox 4.0 and Async Loggers

Brad Wood
Feb 05, 2015

 

The Asynchronous loggers in LogBox have been removed in preference to the new async property that can be used in any logger. The affected loggers are:

 

  • AsyncDBAppender -> DBAppender
  • AsyncFileAppender -> FileAppender
  • AsyncRollingFileAppender -> RollingFileAppender
ColdBox MVC, LogBox, Tips & Tricks 0

CacheBox 2.0, WireBox 2.0, and LogBox 2.0 Released

Brad Wood
Jan 23, 2015

 

In tandem with our ColdBox 4.0 release, we are publishing major releases of the core Box libraries as well:

CacheBox 2.0

Improvements

  • [CACHEBOX-25] - Deprecate Cachebox xml config support

 

Read the What's New guide.

Download CacheBox

LogBox 2.0

Bugs

  • [LOGBOX-14] -Truncating of category data to avoid error on insertion on DB Appender

Improvements

Read the What's New guide.

Download LogBox

WireBox 2.0

Bugs

  • [WIREBOX-31] -Builder.buildDSLDependency does not use the custom DSL correctly as the default namespace kicks in

Improvements

  • [WIREBOX-32] -binder.mapDirectory now skips hidden dirs
  • [WIREBOX-35] -Remove coldbox:cacheManager DSL reference, it is no longer valid

New Features

  • [WIREBOX-2] -allow mapDSL to be altered at runtime by modules via new wirebox method: registerDSL()
  • [WIREBOX-30] -Support wiring new injection DSL = byType, which leverages the type to match to an implementation
  • [WIREBOX-33] -Add a force argument to the map functions so you can override if a mapping already exists
  • [WIREBOX-36] -New coldbox dsl to get a renderer reference: coldbox:renderer

Read the What's New guide.

Download WireBox

CacheBox, ColdBox MVC, LogBox, Releases, WireBox 0

Tip of the Week: Easily Customize LogBox Appender Formats

Brad Wood
Feb 18, 2014

 

LogBox ships with a number of appenders for you to use including the File, Email, and Socket Appenders. These all have a default way that they format the data before its persisted. For instance, the FileAppender will write out each log event like so:

"Severity","Name","MM/DD/YYYY","HH:MM:SS","Category","Message"

If you need the data to be in a different format, or perhaps even change what data is included, you can do so easily without needing write your own appender. Instead, you can provide the path to a custom layout CFC in the config that will be used to format each log message. A layout component only needs to have a single method called "format()". It will receive a coldbox.system.logging.logEvent object and must return a string containing the formatted log message.

Here's an example:

screamoLayout.cfc

component {
  function format( logEvent ) {
    return UCase( logEvent.getMessage() ) & '!!!';
  }
}

 

And then register the layout along side the appender that will use it in the config:

logBox = {
  appenders = {
    myFile = {
      class='logbox.system.logging.appenders.FileAppender',
      layout='path.to.screamoLayout'
    }
  },
  root = { appenders='*' }
};

Now, all your application's log messages will be shouted at the top of your server's lungs. Perhaps you should check the severity and only do that if it's an error message :)

More info here: http://wiki.coldbox.org/wiki/LogBox.cfm#Creating_a_Custom_Layout

P.S. Remember, it is the responsibility of your custom layout to deserialize the extraInfo if necessary and escape any special characters in the message based on the type of storage it's going to be added to. For instance, the E-mail appender will render any HTML tags when sending the message so escape anything that's not meant to be part of the markup in the actual E-mail.

ColdBox MVC, LogBox, Tips & Tricks 0

ColdBox Platform v3.8.0 + Libraries Released

Luis Majano
Dec 18, 2013

 

It is a happy day here at Ortus Solutions as we bring you yet again a plethora of releases of all our major open source libraries.  This is the culmination of over 6 months of hard work to get you updates for all of our major open source libraries and even a new library, TestBox.  You can read more about our releases in our engineering blog:

CacheBox, ColdBox MVC, ColdFusion, DevBox, LogBox, MockBox, News, Releases, TestBox, WireBox 0

LogBox 1.8.0 Released!

Luis Majano
Dec 18, 2013

 

logo

We are proud to announce LogBox version 1.8.0. You can read in detail about this release in our What's new with LogBox 1.8.0.

Bugs Squashed

  • [LOGBOX-10] - Error in Query Syntax in DBAppender when doing rotations on MSSQL

Improvements & New Features

  • [LOGBOX-9] - DBAppender.ensureTable() support for Oracle and PostgreSQL
  • [LOGBOX-4] - DBApender now includes log rotations for X amount of days
  • [LOGBOX-8] - Allow for use of schema's in the database appenders

Resources:

ColdBox MVC, LogBox, News 0
1 2 3 4 >>