Improvements #11897
closedHide logs of HTTP replies
100%
Description
Dears,
I'm running a Wt 4.5.0 server with a webpage which refreshes every 50 ms, on a Linux box with limited resources.
My problem is that the Wt server logs the HTTP replies, and fills up my syslog.
I tried all log-config options I could find and think of, with no success.
The logs seem to be coming from the method "void Reply::logReply(Wt::WLogger& logger)", which is called in "Connection::handleWriteResponse".
I haven't tried more recent versions of Wt, but looking at the code it seems that the issue would still be present.
May I suggest that the replies be logged with level "info", so that they are suppressed by the log-config option "-info"?
Thanks,
Jerome
Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from New to InProgress
- Assignee set to Matthias Van Ceulebroeck
- Target version set to 4.10.2
Hello Jerome,
this indeed wrong, it shouldn't be logged regardless of configuration. In my opinion this should be part of the wthttp
log. I agree "info" is an appropriate level for it.
Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from InProgress to Review
- Assignee deleted (
Matthias Van Ceulebroeck)
Updated by Matthias Van Ceulebroeck about 1 year ago
- Assignee set to Marnik Roosen
Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Review to Resolved
- Assignee changed from Marnik Roosen to Matthias Van Ceulebroeck
Updated by Matthias Van Ceulebroeck about 1 year ago
- Tracker changed from Support to Improvements
- Status changed from Resolved to Implemented @Emweb
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Implemented @Emweb to Closed
Updated by Matthias Van Ceulebroeck 7 months ago
- Related to Bug #11812: Implemented WLogSink but wthttp lib is still using the old logging method. added