This table lists the properties of the Logging page of the persistence.xml Editor.
Note: This page is not available for projects using the Generic platform. |
Property | Description | Default |
---|---|---|
Logging Level |
Specifies the amount and detail of log output by selecting the log level (in ascending order of information): The following are the valid values for the
Example: <property name="eclipselink.logging.level" value="INFO"/> |
Info |
Control whether the timestamp is logged in each log entry. The following are the valid values:
Example: <property name="eclipselink.logging.timestamp" value="false"/> |
True |
|
Control whether a thread identifier is logged in each log entry. The following are the valid values:
|
True |
|
Session |
Control whether an EclipseLink session identifier is logged in each log entry. The following are the valid values:
Example: <property name="eclipselink.logging.session" value="false"/> |
true |
Exceptions |
Control whether the exceptions thrown from within the EclipseLink code are logged prior to returning the exception to the calling application. Ensures that all exceptions are logged and not masked by the application code. The following are the valid values:
Example: <property name="eclipselink.logging.exceptions" value="true"/> |
false |
Log file |
Specify a file location for the log output (instead of the standard out). Example: <property name="eclipselink.logging.file" value="C:\myout\" /> |
stdout |
Logger |
Select the type of logger to use: The following are the valid values:
Example: <property name="eclipselink.logging.logger" value="acme.loggers.MyCustomLogger" /> |
DefaultLogger |
Logging Categories |
You can also specify the logging level for the following specific categories:
|
Info |
Related references
Java Persistence API (JPA) Extensions Reference for EclipseLink
http://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/toc.htm