configure_http_request_logging#

API documentation for tradeexecutor.webhook.http_log.configure_http_request_logging Python function.

configure_http_request_logging(main_log_path)[source]#

Configure HTTP requests to be logged to a separate file.

Must be called after other loggers have been configured.

Parameters:

main_log_path (Path) –

Trade execution log file.

We will prepare a log file with HTTP specific entries.

Return type:

Logger