mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
WebUI: Add command to get the logs
Add /query/getLog and /query/getPeerLog to respectively retrieve the main log and the peer log. GET /query/getLog Params: - normal (bool): include normal messages (default true) - info (bool): include info messages (default true) - warning (bool): include warning messages (default true) - critical (bool): include critical messages (default true) - last_known_id (int): exclude messages with id <= 'last_known_id' GET /query/getPeerLog Params: - last_known_id (int): exclude messages with id <= 'last_known_id'
This commit is contained in:
parent
673b86c6e3
commit
01b73bf704
4 changed files with 115 additions and 0 deletions
|
@ -54,6 +54,8 @@ private:
|
|||
void action_query_propertiesTrackers();
|
||||
void action_query_propertiesWebSeeds();
|
||||
void action_query_propertiesFiles();
|
||||
void action_query_getLog();
|
||||
void action_query_getPeerLog();
|
||||
void action_sync_maindata();
|
||||
void action_sync_torrent_peers();
|
||||
void action_command_shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue