Changing the Maximum Size for the Storage of the ERROR.PDF File
Use
When the rendering of a form fails, Adobe document services create a file that contains detailed information about the error, called Error.PDF. This file is written on the server that hosts the Adobe document services in the directory < DIR_GLOBAL > \AdobeDocumentService s \renderErrorLog\ErrorFiles . The file name is <Date+Time+ApplicationName+Username>.pdf .
After it creates the Error.PDF, the system examines the directory to determine the total size of files in the directory. If that size is more than the maximum allowed, it begins deleting files (oldest first) until the directory size is below the maximum allowed or until only one error file is left in the directory.
For security reasons, you should delete stored Error.PDF files on a regular basis.
You can delete Error.PDF files in two ways:
- On file level, in directory < DIR_GLOBAL > \AdobeDocumentServices\renderErrorLog\ErrorFiles.
- Set back the threshold in the file renderErrorConfig.xml to 0 and restart the AS Java.
Procedure
If you want to change the maximum size, do the following:
-
Change the value by modifying the file renderErrorConfig.xml in the directory < DIR_GLOBAL > \AdobeDocumentService s \renderErrorLog.
-
Save the file
-
Start the AS Java for the change to take effect.
Example
Here is a sample renderErrorConfig.xml :
<?xml version="1.0"?>
<renderErrorLog>
<!--The m a ximum size of error files directory, measure in MB-->
<threshold>
100
</threshold>
</renderErrorLog>