writeLog() does not write to application log (regression since Lucee 5.3.7)

Description

Run:
echo "<cfscript>writeOutput('hello');writelog('test');writeOutput('world');</cfscript>" > /tmp/index.cfm

Then :
docker ps
docker exec -it (whatever docker ps says for container id) tail -f /opt/lucee/web/logs/application.log

Open http://localhost/

Expected: "test" in application.log

Actual: application.log empty

writelog(text='test fatal',type="fatal") doesn't even work either.

Environment

docker run -p 80:80 -v/tmp/:/var/www lucee/lucee:5.3.8.75-SNAPSHOT-nginx

Activity

Show:
Tom Chiverton
October 21, 2020, 10:49 AM

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.

Zac Spitzer
October 21, 2020, 10:59 AM

I think there's a buffer or something which gets flushed out periodically, logs take a while to show up

Tom Chiverton
October 21, 2020, 11:04 AM

What do you mean by a while ? Hours ?

Tom

Zac Spitzer
October 21, 2020, 11:06 AM

Minutes, feels like hours :)

Pothys - MitrahSoft
November 19, 2020, 12:02 PM

I hope this issue was fixed from 5.3.8.107-SNAPSHOT onwards. Could you please check and report here back.

Flagged

Assignee

Pothys - MitrahSoft

Reporter

Tom Chiverton

Priority

Blocker

Labels

Fix versions

None
Configure