diff --git a/flex/bin/bulk_loader.cc b/flex/bin/bulk_loader.cc index 12e385a80fcd..5892ccbb5a20 100644 --- a/flex/bin/bulk_loader.cc +++ b/flex/bin/bulk_loader.cc @@ -37,10 +37,10 @@ void signal_handler(int signal) { << ",Clearing directory: " << work_dir << ", exiting..."; // remove all files in work_dir std::filesystem::remove_all(work_dir); - exit(0); + exit(signal); } else { LOG(ERROR) << "Received unexpected signal " << signal << ", exiting..."; - exit(1); + exit(signal); } } diff --git a/flex/engines/http_server/handler/http_proxy.cc b/flex/engines/http_server/handler/http_proxy.cc index e3d3efb3f2b9..56db91b63c15 100644 --- a/flex/engines/http_server/handler/http_proxy.cc +++ b/flex/engines/http_server/handler/http_proxy.cc @@ -157,6 +157,8 @@ gs::Status HttpProxy::init( seastar::future> HttpProxy::forward_request( const std::string& path, const std::string& method, const std::string& body, const seastar_http_headers_t& headers) { + LOG(INFO) << "Forwarding request to " << path << ", method: " << method + << ", body: " << body << ", headers: " << headers.size(); if (!initialized_) { return seastar::make_ready_future>( HttpForwardingResponses{});