Models 707B and 708B Switching Matrix Reference Manual
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
eventlog.all()
eventlog.clear()
eventlog.count
eventlog.enable
eventlog.overwritemethod
eventlog.overwritemethod
This attribute controls how the event log processes events if the event log is full.
Type
TSP-Link accessible
Attribute (RW)
Yes
707B-901-01 Rev. A / August 2010
(on page 7-87)
(on page 7-88)
(on page 7-89)
(on page 7-90)
(on page 7-91)
Affected by
System reset
Where saved
Default value
Create configuration script
eventlog.DISCARD_OLDEST
Section 7: Command reference
7-91