Logging¶
The gateway captures a record of activities within a trouble log (tlog). The information is listed sequentially by time and provides a severity code for each event listed. The severity codes are listed below.
You can view the tlog from the Web Manager, as CLI output, or you can configure the serial Line to output tlog activity.
Accessing the Trouble Log¶
To view the trouble log from a web browser:
On an Internet browser, type "/tlog" after the module's IP address (http://<device IP address/tlog).
The tlog is displayed in the browser.
To configure a Line to tlog:
Configure Line 1 or a Virtual Line, and select "Trouble Log" as the protocol.
Access the line using a terminal or PC running a terminal emulator to view the tlog on the device.
To view the trouble log from the CLI:
From the CLI, type tlog from the root level.
Sample Trouble Log¶
A sample trouble log and description of the severity codes are listed below:
# S Filename Line Description Time
---- - ---------- ----- ---------------------------------------------- --------
618 I ltrx_wlan. 1728 ap0 Guest is "Enabled" 15:23:41
619 I ltrx_wlan. 1745 Starting ap0 15:23:41
620 N ltrx_wlan. 1779 ap0 using channel 36. 15:23:42
621 I ltrx_wlan. 1787 ap0 bandwidth 20 MHz. 15:23:42
622 I ltrx_wlan. 1793 ap0 startup complete. 15:23:42
623 I network_co 3765 ap0 up. 15:23:42
624 I ip.c 655 ap0 v4 up. 15:23:42
625 I ip.c 667 ap0 IP Address = 192.168.0.1 15:23:42
626 E sntp.c 329 Failed to sync to NTP server 162.159.200.123 15:57:28
627 E sntp.c 329 Failed to sync to NTP server 162.159.200.123 15:58:18
628 E sntp.c 329 Failed to sync to NTP server 162.159.200.123 15:59:09
629 I network_co 3781 Changing ap0 settings... 16:23:35
630 I network_co 3841 ap0 down. 16:23:35
631 N scan.c 90 **** WWC: ltrx_scan_begin **** 16:23:35
632 N wlan.c 11600 WWC: wlan_scan_with_opt scan lock (0) 16:23:35
633 E ltrx_wlan. 2256 WWC: wlan_scan_with_opt SECCEEDED, waiting... 16:23:35
634 E ltrx_wlan. 803 WWC: ltrxWlanScanCB (50) 16:23:41
635 E ltrx_wlan. 2266 WWC: ltrxWlanScan processing complete. 16:23:41
636 E scan.c 212 WWC: ltrxWlanScan returned true 16:23:41
637 N scan.c 114 **** WWC: ltrx_scan_end **** 16:23:41
638 I ltrx_wlan. 1728 ap0 Guest is "Enabled" 16:23:41
639 I ltrx_wlan. 1745 Starting ap0 16:23:41
640 N ltrx_wlan. 1779 ap0 using channel 36. 16:23:42
| Severity Code | Description |
|---|---|
| P | Emergency |
| A | Alert |
| C | Critical |
| E | Error |
| W | Warning |
| N | Notice |
| I | Informational |
| D | Debug |