Logging PDF generation on Linux systems
To gather and review the output from the call to athenapdf
, redirect
the stdout and stderr from athenapdf
to a file.
Before doing the redirection, ensure that you enabled logging for Web Reports as it is explained in Logging Web Reports.
Run these steps to do the redirection:
- Make a backup copy of the
script
/var/opt/BESWebReportsServer/BESReportsData/BESExe/generatepdf.sh
- Update the script by changing the following
line:
as follows:$besexe_folder$athena_folder$athena_executable --ignore-certificate-errors --delay 5000 --no-cache $arg1 $arg2
By doing so you redirect the stdout and stderr from$besexe_folder$athena_folder$athena_executable --ignore-certificate-errors --delay 5000 --no-cache $arg1 $arg2 1>/tmp/pdfout.txt
athenapdf
to the /tmp/pdfout.txt file.