JDBC Log

The JDBC Log page is a simple display page which shows the contents of the JDBC Log file. The JDBC Logs (which are a set of rotating files which you can configure from the JDBC Settings page) are simple space separated files, so they can be easily imported into database or spreadsheet applications. By default these files are located in the /FusionReactor/instance/[your_instance_name]/log directory.

The log file is formatted as follows:
 

Filed

Number

Description

Date (Formatted)

1 [A]

The date on which this log entry was written.

Time (Formatted)

2 [B]

The time on which this log entry was written.

Date/Time (Milliseconds)

3 [C]

This is the millisecond time at which this request was started or finished (depending upon the Request Status.)

Version

4 [D]

Version number of this log entry.

Server Startup Time (ms)

5 [E]

Startup time of the application server in milliseconds (ms) since epoch.

 

Request ID

6 [F]

The FusionReactor Request ID.

Thread ID

 

7 [G]

The name of the thread responsible for responding to this request.

Client IP Address

8 [H]

The IP address of the person making the request.

Request Method

9[ I]

Specifies the HTTP method used during the request. This will usually be "GET" or "POST"

Request URL

10 [J]

This is the requested URL. The format of this column will change depending on URL Format setting which can be found on the Request Settings page.

Log Type

11 [K]

One of: "METRIC", "NOTIFICATION" or "REMINDER"

DB Start Time

12 [L]

The time (in milliseconds) at which the JDBC query began.

DB End Time

13 [M]

The time (in milliseconds) at which the DB finished with the query.

Total End Time

14 [N]

The time (in milliseconds) at which the query was completely finished (after results were transferred back etc.).

DB Time

15 [O]

The amount of time (in milliseconds) this JDBC query spent in the DB.

Total Time

16 [P]

The total amount of time (in milliseconds) it took to complete this query.

Row Count

17 [Q]

 

The number of rows returned by this query.

Prepared Statement

18 [R]

 

This is a simple TRUE/FALSE value to tell you if this statement had already been prepared prior to its execution.

Row Limited

19 [S]

 

This is a simple TRUE/FALSE value to tell you if this query was row limited.

DataSource

 

20 [T]

 

If you have assigned a name to your data source wrapper then it will appear here. To find out how to name your data sources, please refer to page 14 of the FusionReactor JDBC Driver Wrapper: User Guide (pdf).

Statement

21 [U]

 

The actual statement which was run.

Stack Trace

22 [V]

 

This is the stack trace which was stored when the query was run. You can turn on or off this feature from the JDBC Settings page and alter the stack trace information from the JDBC Stack Trace Filter page.

Query String

23 [W]

 

This is the query string from the request running the JDBC statement.

Message

23 [X]

 

For Notifications and Reminders, this will contain the notification or reminder message.

 

NOTE: Depending on the type of log message, not all columns will have values.

Deleting the JDBC Log

Clicking on the "Delete Log File" button will display an "Are you sure?" dialog box. If you OK this dialog then the JDBC Log will be emptied and the screen will be refreshed.

Refreshing the Page

Clicking on the "Refresh" button will update the screen to display the latest log entries.

 

Also See

Importing and Graphing Data in Excel