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:
Zac Spitzer
October 14, 2020, 4:34 PM

I think this is the same regression as from

, commenting on all the different tasks is getting confusing. I know this is frustrating , but lets keep the discussion to one task

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 :)

Assignee

Pothys - MitrahSoft

Reporter

Tom Chiverton

Priority

Blocker

Labels

Fix versions

None
Configure