Log file attributes

The M-Business Server log files all come from an Apache server, or a Tomcat server that is closely related. Each line in any of these log files typically has the following format:

host pid time\request\ status responseTime responseSize

You may use any text editor, such as Notepad or emacs, to view the log files. The table below describes the log attributes and their definitions.

The following sample messages might be logged in the sync_access.log file when a user synchronizes with M-Business Server.

10.0.128.3 81271 [21/Oct/2005:13:55:30 -0700] "POST /sync HTTP/1.0" 200 0 57
10.0.128.3 81280 [21/Oct/2005:13:55:31 -0700] "POST /sync HTTP/1.0" 200 0 734
10.0.128.3 81276 [21/Oct/2005:13:56:31 -0700] "POST /sync/mikeg HTTP/1.0" 200 57 327322
10.0.128.3 81275 [21/Oct/2005:13:57:25 -0700] "POST /sync/mikeg HTTP/1.0" 200 30 151289

Table 1. Log attribute legend

Log attribute

Definition

host

The name or IP address of the computer from which the request was received. If a user is synchronizing a device, this is the IP address of the desktop computer to which the device is attached, or it is the IP address of the device itself, if the device is performing a modem synchronization.

id

Process ID of the server handling the request. On UNIX systems, multiple instances of each server run simultaneously, and this entry identifies which instance served the request. (On Windows, the same process serves every request.)

time

Date and time at which the request was received.

request

The first line of the request header.

status

The status of the request.

responseTime

Number of seconds it took to handle the request.

responseSize

The length in bytes of the response that was sent.