Skip to content

Commit

Permalink
Merge pull request #128 from CrowCpp/double_logging
Browse files Browse the repository at this point in the history
fixed issue where response is logged twice
  • Loading branch information
The-EDev authored Apr 12, 2021
2 parents 4a663c9 + 738abdb commit 1087c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/http_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ namespace crow
}

prepare_buffers();
CROW_LOG_INFO << "Response: " << this << ' ' << req_.raw_url << ' ' << res.code << ' ' << close_connection_;

if (res.is_static_type())
{
do_write_static();
Expand Down

0 comments on commit 1087c2f

Please sign in to comment.