echo "<cfscript>writeOutput('hello');writelog('test');writeOutput('world');</cfscript>" > /tmp/index.cfm
docker exec -it (whatever docker ps says for container id) tail -f /opt/lucee/web/logs/application.log
Expected: "test" in application.log
Actual: application.log empty
writelog(text='test fatal',type="fatal") doesn't even work either.
docker run -p 80:80 -v/tmp/:/var/www lucee/lucee:18.104.22.168-SNAPSHOT-nginx
except my test case isn’t from a thread (shouldn’t #3083 be a blocker too ?) and I do not recall seeing the hang message.
I think there's a buffer or something which gets flushed out periodically, logs take a while to show up
What do you mean by a while ? Hours ?
Minutes, feels like hours :)
I hope this issue was fixed from 22.214.171.124-SNAPSHOT onwards. Could you please check and report here back.