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