WriteLog() output goes where?

What is the location of the standard log file that WriteLog() output is written to when the log file is not specified? I expect it to be /logs/catalina.out but I don’t find it there. This is for Lucee 5 current stable version. TIA

It is written to the application.log file in the Lucee web directory log files. You can find the path in your system by calling:

dump(expandPath("{lucee-web-directory}/logs"));

If you want to write to the Output stream, e.g. catalina.out, then you need to use SystemOutput(). See SystemOutput() :: Lucee Documentation for more info.

Thanks Igal. :smile:

1 Like