Log

Decription

IP Camera records user's operations and other important information, some of which is only visible to administrator. User can call /GetLog.cgi to get the logs.

Remark

As a example, below is the text returned by /GetLog.cgi:

000005398427    0A820B570000E8E26A8800000000022410.10A820B570000E8E26A8800000000082334230A820B570000E8E26A880000000012

The very beginning of the text(blue) is the relative-time when IP Camera returned this text, where relative-time is the seconds since IP Camera booting. The benefit using relative-time is that the correct time can be shown even though server's time is not set. (Refer to SetTime.cgi)
after the 10 blue bytes, every 36 bytes represent a piece of log infomation. So 3 logs exist totally on the above.

The structure of every log information:
   byte 0, 1 - reason for recording this log, refer to Table 1. eg: 27 is shown that new client connect to IP Camera.
   byte 2 ~ 5 - reserved.
   byte 6 ~ 13 - operator's IP. eg: 0A820B57 is 10.130.11.87.
   byte 14 ~ 25 - operator's MAC. eg: 0000E8E26A88 is 00:00:E8:E2:6A:88.
   byte 26 ~ 35 - time of this log.

Table 1 (reason for logs)
0Information
1Error
11Set user
12Del user
13Set user check
14Open camera
15Close camera
16Change resolution
17Change quality
18Change brightness
19Change contrast
20Change saturation
21Change hue
22Change Sharpness
23Set email
24Set ftp server
25Dial (pppoe)
26Dial (modem)
27New client
28Set Motion Detect
29Set Monite Area
30Set Server Time
31Set Server IP
32Set Http Port

Example

Refer to GetLog.cgi