Blog

ColdBox 4.0 and Async Loggers

Brad Wood February 05, 2015

Spread the word

Brad Wood

February 05, 2015

Spread the word


Share your thoughts

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

You can just declare each appender but add an async=true property to each when declaring.


Old config:


logBox = {
    appenders = {
        coldboxTracer = {
		class = "coldbox.system.logging.appenders.AsyncRollingFileAppender",
		properties = {
			filePath = "/logs",
			fileMaxArchives = 5,
			fileMaxSize = 3000
 		}
	}
    }
};

New Config:


logBox = {
    appenders = {
        coldboxTracer = {
		class = "coldbox.system.logging.appenders.RollingFileAppender",
		properties = {
			filePath = "/logs",
			fileMaxArchives = 5,
			fileMaxSize = 3000,
			async = true
 		}
	}
    }
};

 

Add Your Comment

Recent Entries

TestBox: Write Better Tests, Build Better BoxLang & CFML Apps

TestBox: Write Better Tests, Build Better BoxLang & CFML Apps

Building reliable software isn’t just about writing good code it’s about proving it works, every single time. As applications grow in complexity, having a solid, expressive, and flexible testing framework becomes essential.

That’s where TestBox comes in.

Victor Campos
Victor Campos
February 13, 2026
BoxLang NeoVim Plugin Released

BoxLang NeoVim Plugin Released

We're excited to announce the release of the BoxLang NeoVim Plugin - a comprehensive syntax highlighting solution designed specifically for BoxLang developers working in Vim and NeoVim environments. This isn't a port or adaptation of existing CFML syntax files; it's a ground-up implementation built for BoxLang's modern feature set. Coming soon as well will be our runners, syntax validators, and integration with our LSP for live previews, insights, and much more.

Luis Majano
Luis Majano
February 13, 2026
Announcing Cloud-Native BoxLang for $5/Month

Announcing Cloud-Native BoxLang for $5/Month

TL;DR: We just released a production-ready starter template that deploys a modern BoxLang application to DigitalOcean App Platform in under 5 minutes—starting at just $5/month. One-click deployment, auto-scaling, automatic redeployments, and zero downtime included.

Luis Majano
Luis Majano
February 10, 2026