Fix log timestamp example value

Vladimir Golovnev 2023-08-22 22:07:18 +03:00
parent 507ea4bd0f
commit 41ebf6dcc6

@ -857,91 +857,91 @@ Example:
{ {
"id":1, "id":1,
"message":"qBittorrent is trying to listen on any interface port: 19036", "message":"qBittorrent is trying to listen on any interface port: 19036",
"timestamp":1507969127869, "timestamp":15079691278,
"type":2 "type":2
}, },
{ {
"id":2, "id":2,
"message":"Peer ID: -qB3400-", "message":"Peer ID: -qB3400-",
"timestamp":1507969127870, "timestamp":1507969127,
"type":1 "type":1
}, },
{ {
"id":3, "id":3,
"message":"HTTP User-Agent is 'qBittorrent/3.4.0'", "message":"HTTP User-Agent is 'qBittorrent/3.4.0'",
"timestamp":1507969127870, "timestamp":1507969127,
"type":1 "type":1
}, },
{ {
"id":4, "id":4,
"message":"DHT support [ON]", "message":"DHT support [ON]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":5, "id":5,
"message":"Local Peer Discovery support [ON]", "message":"Local Peer Discovery support [ON]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":6, "id":6,
"message":"PeX support [ON]", "message":"PeX support [ON]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":7, "id":7,
"message":"Anonymous mode [OFF]", "message":"Anonymous mode [OFF]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":8, "id":8,
"message":"Encryption support [ON]", "message":"Encryption support [ON]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":9, "id":9,
"message":"Embedded Tracker [OFF]", "message":"Embedded Tracker [OFF]",
"timestamp":1507969127871, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":10, "id":10,
"message":"UPnP / NAT-PMP support [ON]", "message":"UPnP / NAT-PMP support [ON]",
"timestamp":1507969127873, "timestamp":1507969127,
"type":2 "type":2
}, },
{ {
"id":11, "id":11,
"message":"Web UI: Now listening on port 8080", "message":"Web UI: Now listening on port 8080",
"timestamp":1507969127883, "timestamp":1507969127,
"type":1 "type":1
}, },
{ {
"id":12, "id":12,
"message":"Options were saved successfully.", "message":"Options were saved successfully.",
"timestamp":1507969128055, "timestamp":1507969128,
"type":1 "type":1
}, },
{ {
"id":13, "id":13,
"message":"qBittorrent is successfully listening on interface :: port: TCP/19036", "message":"qBittorrent is successfully listening on interface :: port: TCP/19036",
"timestamp":1507969128270, "timestamp":1507969128,
"type":2 "type":2
}, },
{ {
"id":14, "id":14,
"message":"qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/19036", "message":"qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/19036",
"timestamp":1507969128271, "timestamp":1507969128,
"type":2 "type":2
}, },
{ {
"id":15, "id":15,
"message":"qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/19036", "message":"qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/19036",
"timestamp":1507969128272, "timestamp":1507969128,
"type":2 "type":2
} }
] ]
@ -969,7 +969,7 @@ Property | Type | Description
------------|---------|------------ ------------|---------|------------
`id` | integer | ID of the peer `id` | integer | ID of the peer
`ip` | string | IP of the peer `ip` | string | IP of the peer
`timestamp` | integer | Milliseconds since epoch `timestamp` | integer | Seconds since epoch
`blocked` | boolean | Whether or not the peer was blocked `blocked` | boolean | Whether or not the peer was blocked
`reason` | string | Reason of the block `reason` | string | Reason of the block