2007

Table Of Contents
Name-Value Pair API Developer Guide and Reference April 2007 105
The Java SDK
Complete SDK and API Class Documentation
Complete SDK and API Class Documentation
Complete Javadoc documentation for all PayPal SDK interfaces, classes, methods, structures,
and data types are included with the SDK distribution. To view the documentation, open the
following file with your web browser:
SDK_root/docs/index.html
SDK Logging
The PayPal SDK uses log4j public domain logging software. For complete information, see
the documentation at
http://logging.apache.org/log4j/docs/
Setting Log Levels
Set the value of the level element in SDK_root/lib/log4j.properties.
Logfile Backup
The default size of the SDK log is 10MB. You can set this size larger or smaller with the value
of param name=”MaxFileSize” in log4j.properties. When the log file reaches its
maximum size, a backup file is created and a new logfile begins.
samples Example code that use the SDK.
src SDK source code
tools Third-party applications
T
ABLE D.4 SDK Logging Levels
Level Description
ALL Same as DEBUG
ERROR Log only severe errors
INFO Date/time of API operation, operation name, elapsed time, success or failure indication
DEBUG Full text of requests and responses and other debugging messages. Because DEBUG
logging can degrade the performance of the SDK, be careful about using it for day-to-
day operation.
N OTE: Because requests and responses are asynchronous, the recording of requests and
responses might appear out of sequence in the log file.
T
ABLE D.3 PayPal SDK for Java: Directories and Contents (Continued)
Directory Descrption