Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Sub-Process > Implementing Arbortext PE Applications > Sample Applications > The samples Directory
  
The samples Directory
Arbortext Publishing Engine handles log information using Log4j. Arbortext Publishing Engine developers need to be familiar with Log4j before using Arbortext PE server sample logging code. Arbortext Publishing Engine provides sample logging code in ACL, Java, VBScript and JavaScript languages that can be implemented as part of a custom application of the same type. The logging code in the application can capture and report log information.
Java
e3\samples\java\com\arbortext\e3\testapp\E3Sample2.java
JavaScript
e3\samples\javascript\e3samples2.js
VBScript
e3\samples\vbscript\e3samples2.vbs
ACL
e3\samples\acl\e3samples2.acl
In the set of Arbortext Publishing Engine samples, there is a test_log example function for each supported programming language that you can incorporate into your code.
General instructions for using the functions in the sample files:
1. Set the logging level using the global parameter com.arbortext.e3.transactionArchive.selector in e3config.xml. (Refer to Managing the Transaction Archive in Global Arbortext PE Request Manager Parameters for information.)
2. Add the function to the Allowed Functions list in e3config.xml.
3. See specific instructions in the comments of the sample code files.
Refer to Configuration Guide for Arbortext Publishing Engine for information about application logging and how to set configuration parameters in e3config.xml.