Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-91
Details
Returns the next entry from the event log and removes it from the log.
If there are no entries in the event log, returns the value
nil
.
Example 1
print(eventlog.next())
Output:
17:28:22.085 10 Oct 2009, LAN2, 192.168.1.102, LXI, 0, 1192037134, <no time>, 0,
0x0
Example 2
print(eventlog.next())
Output:
17:28:25.549 10 Oct 2009, LAN6, 192.168.1.102, LXI, 0, 1192037135, <no time>, 0,
0x0
Example 3
print(eventlog.next())
Output:
17:28:31.563 10 Oct 2009, LAN4, 192.168.1.102, LXI, 0, 1192037136, <no time>, 0,
0x0
Example 4
print(eventlog.next())
Output:
nil
Also see
(on page 7-87)
(on page 7-90)
(on page 7-91)
eventlog.overwritemethod
This attribute controls how the event log processes events if the event log is full.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
System reset
Create configuration script
eventlog.DISCARD_OLDEST