Collapse cascading log levels into LOG_ERRORS / LOG_EVENTS / LOG_DEBUG_TRACE.

This commit is contained in:
Copilot
2026-10-10 18:48:47 +09:00
committed by GitHub
parent 5aa45bbaf4
commit 7ee4b147d9
17 changed files with 56 additions and 57 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ rc.schedule2('watch_load', '11', '10', 'load.verbose=(cat, (cfg.watch), "load/*.
-- Groups = connection_* dht_* peer_* rpc_* storage_* thread_* tracker_* torrent_*
rc.print('Logging to '..rc.cfg.logfile())
rc.log.open_file('log', rc.cfg.logfile())
rc.log.add_output('info', 'log')
rc.log.add_output('errors', 'log')
rc.log.add_output('events', 'log')
--rc.log.add_output('tracker_events', 'log')
--rc.log.add_output('tracker_requests', 'log')