279
6620-3201
15 The event log
15.1 What is the Event Log?
Many Westermo products automatically maintain a log of certain types of event in a pseudo
fi
le called
EVENTLOG.TXT. The contents of the log can be viewed via the
Status
>
Event Log
web page or
using by using the
type
command. In either case, the most recent event appears at the top of the
log with successively older log entries appearing further down.
The example below shows a small section of a log:
16:30:09, 02 Jun 2000,PPP 0 U
p
16:30:09, 02 Jun 2000,PPP 0 Start IPC
P
16:30:09, 02 Jun 2000,PPP Login OK By Paul Lvl
3
16:30:09, 02 Jun 2000,PPP 0 Start PA
P
16:30:09, 02 Jun 2000,PPP 0 Start LC
P
16:29:51, 02 Jun 2000,Power U
p
The EVENTLOG.TXT pseudo-
fi
le acts as a circular buffer so that when the space available for the log
is full, new entries are written at the start of the buffer overwriting the oldest entries.
Each entry in the log normally consists of a single line containing the date, time and a brief description
of the event. In some cases it may also identify:
♦
the type/number of the protocol instance that generated the message (e.g. PPP 0)
♦
a reason code
♦
additional information such as an X.25 address or ISDN telephone number
The speci
fi
c events that generate a log entry are pre-de
fi
ned and cannot be altered. These are listed
in the table below along with the name of the
fi
rmware module that generates the event message and
any additional information that may be included in the log.
Event Description
Originating
module
Comment
01
Power up
Event logger
n/a
02
Event log cleared
Event logger
n/a
03 Reboot
Command
n/a
04
Layer 2 protocol up
LAPB, LAPD, PPP, V120
n/a
05
Layer 2 protocol down
LAPB, LAPD,PPP, V120
n/a
07
Login success
FTP, PPP, Command, Webserver
Username
08
Login fail
FTP, PPP, Command, Webserver
Username
09
Time set / changed
Command
OK or FAIL
13
Web server restarting
Webserver
n/a
14
Protocol negotiation started
PPP
IPCP, LCP, PAP
15
Async > sync PPP started
PPP
n/a
16
Event delay
Event logger
n/a
17
SMTP request to send email
SMTP
Template
fi
lename
18
SMTP send successful
SMTP
n/a
19
SMTP request rejected
SMTP
n/a
20
SMTP request failed
SMTP
n/a
21
Telnet session closed
TCP Utilities
n/a
22 New
logcodes.txt
fi
le
Flash memory mgr.
n/a
23 Con
fi
g. Request
SMTP
n/a
24
Anonymous FTP login
FTP
Password
25
FTP session closed
FTP
n/a
26
X.25 CALL request Rx’d
X.25
Called address