The event log 14, What is the event log? 14.1 – Westermo MR Series User Manual

Page 389

Advertising
background image

389

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

The Event Log

14

What is the Event Log?

14.1

Many Westermo products automatically maintain a log of certain types of event in a pseudo file
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 Up

16:30:09, 02 Jun 2000,PPP 0 Start IPCP

16:30:09, 02 Jun 2000,PPP Login OK By Paul Lvl 3

16:30:09, 02 Jun 2000,PPP 0 Start PAP

16:30:09, 02 Jun 2000,PPP 0 Start LCP

16:29:51, 02 Jun 2000,Power Up

The EVENTLOG.TXT pseudo-file 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 descrip-
tion 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 specific events that generate a log entry are pre-defined and cannot be altered. These are listed
in the table below along with the name of the firmware 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 filename

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 file

Flash memory mgr.

n/a

23

Config. 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

Advertising
This manual is related to the following products: