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

BoxLang 1.17 Series Part 4 : WriteDump Enhanced!

BoxLang 1.17 Series Part 4 : WriteDump Enhanced!

You call writeDump() on an ORM entity or a very rich class graph . The browser locks up. Thirty seconds later you get a page with forty thousand rows on it, you scroll for a while, you give up, and you go edit your code to dump a sub-key instead. Or worse, you crash the server.

Luis Majano
Luis Majano
September 11, 2026
BoxLang AI 3.4 Blog Series Part 4 : Locking Down Prompt Injection

BoxLang AI 3.4 Blog Series Part 4 : Locking Down Prompt Injection

LLM applications face a class of attack traditional input validation was never built for: prompt injection. An attacker embeds instructions in user input, a retrieved document, a web page your tool fetched, or an MCP result, trying to override your system prompt, exfiltrate data, or hijack a tool call. BoxLang AI 3.4.0 ships four layered, configurable defenses against exactly this, plus one more that's on unconditionally.

Luis Majano
Luis Majano
September 11, 2026