mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-25 01:06:05 +03:00
Merge pull request #1241 from norohind/enhancement/1239/inara-trace-under-on_trace
inara.py: put events trace logging under `inara-events` trace_on option
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -1491,7 +1491,8 @@ def new_worker():
|
||||
]
|
||||
}
|
||||
logger.info(f'sending {len(data["events"])} events for {creds.cmdr}')
|
||||
logger.trace(f'Events:\n{json.dumps(data)}\n')
|
||||
logger.trace_if('plugin.inara.events', f'Events:\n{json.dumps(data)}\n')
|
||||
|
||||
try_send_data(TARGET_URL, data)
|
||||
|
||||
time.sleep(WORKER_WAIT_TIME)
|
||||
|
||||
Reference in new issue
Block a user