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)
0 | Information |
1 | Error |
11 | Set user |
12 | Del user |
13 | Set user check |
14 | Open camera |
15 | Close camera |
16 | Change resolution |
17 | Change quality |
18 | Change brightness |
19 | Change contrast |
20 | Change saturation |
21 | Change hue |
22 | Change Sharpness |
23 | Set email |
24 | Set ftp server |
25 | Dial (pppoe) |
26 | Dial (modem) |
27 | New client |
28 | Set Motion Detect |
29 | Set Monite Area |
30 | Set Server Time |
31 | Set Server IP |
32 | Set Http Port |
Example
Refer to GetLog.cgi