Viewing a Log File

The output shown next provides an example of the log output. Note that the software automatically
recovered from an error condition found when hanging up the modem via hardware
command by lowering DTR (data terminal ready).
The log is a standard text file that can be viewed by choosing Connection 
Advanced from
the modem’s properties dialog box and then clicking the View Log button in the Advanced Connection
Settings dialog box that opens (see Figure 25.9).

Following is a sample log file that shows the preliminary handshake with the modem. This
identifies the information file (INF) that is used, in addition to the status of connections, error
control, compression, and hang-up characteristics. Note that in this case, the modem did not
respond to the lowering of DTR for the hang-up and was disconnected with software. This
might indicate a configuration problem with the modem; however, it is benign in this case.


02-15-2000 22:36:33.15 - Lucent Win Modem in use.
02-15-2000 22:36:33.16 - Modem type: Lucent Win Modem
02-15-2000 22:36:33.16 - Modem inf path: LTMODEM.INF
02-15-2000 22:36:33.16 - Modem inf section: Modem_PNP_DSVD
02-15-2000 22:36:34.80 - 115200,N,8,1
02-15-2000 22:36:34.80 - 115200,N,8,1
02-15-2000 22:36:34.80 - Initializing modem.
02-15-2000 22:36:34.80 - Send: AT
02-15-2000 22:36:34.81 - Recv: AT
02-15-2000 22:36:34.81 - Recv: OK
02-15-2000 22:36:34.81 - Interpreted response: Ok
02-15-2000 22:36:34.81 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1
02-15-2000 22:36:34.85 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1
02-15-2000 22:36:34.85 - Recv: OK
02-15-2000 22:36:34.85 - Interpreted response: Ok
02-15-2000 22:36:34.85 - Send: ATS7=60S30=0L0M1\N3%C1&K3B0B15B2N1\J1X4
02-15-2000 22:36:34.86 - Recv: OK
02-15-2000 22:36:34.86 - Interpreted response: Ok
02-15-2000 22:36:34.86 - Dialing.
02-15-2000 22:36:34.86 - Send: ATDT;
02-15-2000 22:36:37.38 - Recv: OK
02-15-2000 22:36:37.38 - Interpreted response: Ok
02-15-2000 22:36:37.38 - Dialing.
02-15-2000 22:36:37.38 - Send: ATDT#######
02-15-2000 22:37:10.81 - Recv: CONNECT 26400 V42bis
02-15-2000 22:37:10.81 - Interpreted response: Connect
02-15-2000 22:37:10.81 - Connection established at 26400bps.
02-15-2000 22:37:10.81 - Error-control on.
02-15-2000 22:37:10.81 - Data compression on.
02-15-2000 22:37:44.27 - Hanging up the modem.
02-15-2000 22:37:44.27 - Hardware hangup by lowering DTR.
02-15-2000 22:37:45.47 - WARNING: The modem did not respond to lowering

DTR. Trying software hangup...
02-15-2000 22:37:45.47 - Send: +++
02-15-2000 22:37:45.55 - Recv: OK
02-15-2000 22:37:45.55 - Interpreted response: Ok
02-15-2000 22:37:45.55 - Send: ATH E1
02-15-2000 22:37:45.63 - Recv: OK
02-15-2000 22:37:45.63 - Interpreted response: Ok
02-15-2000 22:37:45.63 - 115200,N,8,1
02-15-2000 22:37:46.69 - Session Statistics:
02-15-2000 22:37:46.69 - Reads : 811 bytes
02-15-2000 22:37:46.69 - Writes: 2991 bytes
02-15-2000 22:37:46.69 - Lucent Win Modem closed.