Logging improvement

This commit is contained in:
Henrik Rydgård committed 2023-12-29 11:44:22 +01:00
1 parent 2160abb5ec
commit e6bc3d83f8
6 files changed
+16 -10

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ ServerRequest::~ServerRequest() {
}
delete in_;
if (!out_->Empty()) {
ERROR_LOG(IO, "Output not empty - connection abort? (%s)", this->header_.resource);
WARN_LOG(IO, "Output not empty - connection abort? (%s) (%d bytes)", this->header_.resource, out_->BytesRemaining());
}
delete out_;
}