Hello Community,
I understand that "Context.writeLog()" function allows a report to write a log file.
Simple question : how retrieve this log file at the end of the report execution ?
PS : i am in a cloud edition.
Regards.
Christian
Hello Community,
I understand that "Context.writeLog()" function allows a report to write a log file.
Simple question : how retrieve this log file at the end of the report execution ?
PS : i am in a cloud edition.
Regards.
Christian
Using "Context.writeLog()" ist quite usesless in Cloud I'm afraid ...
This method writes directly into the "jsreport.log" files, but these are stored in the log folder of the ABS runnable, so you would have to raise a cloud support ticket to get access to it.
and Martin was quicker :-D
Thank you guys for your answers.
I wanted to distingish the report files (for the end users) and the log file (for the developer) but it seems that it is not possible, except with the help of the support, as Klaus explains.
I will deal with that anyway.
Regards
Christian
Martin Schröder on
Hello Christian,
AFAIK Context.writeLog() can only write messages into the default jsreport.log at \server\bin\work\work_abs_m\base\webapps\abs\log on the server.
In the cloud you would need to create a second output file as an individual log,
cf. Report class Context - Method addOutputFile
Regards, Martin