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

Tom Chiverton 
27 January 2021 at 11:26

“You don't have permission to transition this issue”

Pothys - MitrahSoft 
27 January 2021 at 11:14

Yes, close it.

Tom Chiverton 
27 January 2021 at 10:05

I would if I could close my own tickets

Pothys - MitrahSoft 
27 January 2021 at 10:03

issue solved means, Shall I close this ticket?

Tom Chiverton 
27 January 2021 at 08:43

lucee/lucee:5.3.8.138-SNAPSHOT-nginx certainly has the fix and writelog() works again

Pothys - MitrahSoft 
19 November 2020 at 12:02

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

Zac Spitzer 
21 October 2020 at 11:06

Minutes, feels like hours :)

Tom Chiverton 
21 October 2020 at 11:04

What do you mean by a while ? Hours ?

Tom

Zac Spitzer 
21 October 2020 at 10:59

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

Tom Chiverton 
21 October 2020 at 10:49

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 
14 October 2020 at 16:34

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

Flagged
Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 23 September 2020 at 08:50
Updated 27 January 2021 at 13:31
Resolved 27 January 2021 at 13:31