Since the FileAppender is now inherently async, and having the async flag = true actually breaks the appender. The new function startLogListener() never completes when called from within a thread.
I am revisiting this, can you remind me what was the workaround?
The workaround is for LogBox to NOT try and wrap the file appender in a thread as it basically renders it useless. The new file appender is already inherently threaded so it just needs to ignore that attribute and never allow LogBox to try and wrap it in additional threads. The problem is, if the appender detects it is already in a thread, it won't do anything, which makes it useless.
I am wondering if we just remove that if statement?
No, Adobe and Lucee 4 don't allow nested threads