Home » U++ Library support » U++ Core » HttpClient logs in Release mode
HttpClient logs in Release mode [message #744] |
Mon, 30 January 2006 17:33 |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
It seems that HttpClientGet creates long entries in the logfile even if I compile in Release mode. I would like to avoid creating a logfile when everything works OK. Logfile looks like this:
HttpClient::Execute
socket host = something:8080
[01/30/2006 17:32:23 @ 906] Socket::Data::OpenClient(something:8080, timeout 0, block false)
[01/30/2006 17:32:23 @ 906] Socket::Data::Close(-1, timeout = 0)
[01/30/2006 17:32:23 @ 906] //Socket::Data::Close, ok = false
[01/30/2006 17:32:23 @ 906] Socket::Data::Open() -> 168
[01/30/2006 17:32:23 @ 906] NoDelay(168)
host = something, port = 8080
request: GET something HTTP/1.1
URL: http://something
Host: something
Connection: close
Accept: */*
Agent: Ultimate++ HTTP client
[01/30/2006 17:32:23 @ 921] WriteWait(@ 168: 222, Tmax = 1000)
[01/30/2006 17:32:23 @ 921] //WriteWait() -> 222
[01/30/2006 17:32:24 @ 1171] recv(168) -> 268
[01/30/2006 17:32:24 @ 1171] recv(168) -> 3659
[01/30/2006 17:32:24 @ 1171] recv(168) -> 0
[01/30/2006 17:32:24 @ 1171] Socket::Data::Close(168, timeout = 0)
[01/30/2006 17:32:24 @ 1171] Socket::Data::CloseRaw(168)
[01/30/2006 17:32:24 @ 1171] //Socket::Data::CloseRaw, ok = true
[01/30/2006 17:32:24 @ 1171] //Socket::Data::Close, ok = true
//HttpClient::Execute
TIMING Socket::Data::Read: 0.0 us - 0.0 us ( 0.0 us / 14 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 14
TIMING Socket::Data::PeekRead: 2.6 s - 173.7 ms ( 2.6 s / 15 ), min: 0.0 us, max: 1.0 s , nesting: 1 - 15
TIMING Socket::Data::Write: 999.4 us - 199.9 us ( 1.0 ms / 5 ), min: 0.0 us, max: 1.0 ms, nesting: 1 - 5
TIMING Socket::Data::PeekWrite: 998.9 us - 99.9 us ( 1.0 ms / 10 ), min: 0.0 us, max: 1.0 ms, nesting: 1 - 10
[Updated on: Mon, 30 January 2006 17:34] Report message to a moderator
|
|
|
|
|
|
Re: HttpClient logs in Release mode [message #780 is a reply to message #750] |
Thu, 02 February 2006 10:14 |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
Errrmm. Sorry but this problem was not solved. I am now getting this somewhat shorter log file. I don't want this log to be created by the release-mode application.
HttpClient::Execute
socket host = something:80
host = something, port = 80
request: GET /something.xml HTTP/1.1
URL: http://something/something.xml
Host: something
Connection: close
Accept: */*
Agent: Ultimate++ HTTP client
//HttpClient::Execute
TIMING Socket::Data::Read: 0.0 us - 0.0 us ( 0.0 us / 14 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 14
TIMING Socket::Data::PeekRead: 395.0 ms - 79.0 ms (395.0 ms / 5 ), min: 0.0 us, max: 342.0 ms, nesting: 4 - 14
TIMING Socket::Data::Write: 2.0 ms - 399.9 us ( 2.0 ms / 5 ), min: 0.0 us, max: 1.0 ms, nesting: 1 - 5
TIMING Socket::Data::PeekWrite: 32.0 ms - 4.0 ms ( 32.0 ms / 8 ), min: 0.0 us, max: 30.0 ms, nesting: 2 - 10
|
|
|
Re: HttpClient logs in Release mode [message #1027 is a reply to message #780] |
Tue, 14 February 2006 17:38 |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
The status improved in 602beta2, but still not OK. Please remove these logs from the release build. TIMING Socket::Data::Read: 0.0 us - 0.0 us ( 0.0 us / 14 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 14
TIMING Socket::Data::PeekRead: 395.0 ms - 79.0 ms (395.0 ms / 5 ), min: 0.0 us, max: 342.0 ms, nesting: 4 - 14
TIMING Socket::Data::Write: 2.0 ms - 399.9 us ( 2.0 ms / 5 ), min: 0.0 us, max: 1.0 ms, nesting: 1 - 5
TIMING Socket::Data::PeekWrite: 32.0 ms - 4.0 ms ( 32.0 ms / 8 ), min: 0.0 us, max: 30.0 ms, nesting: 2 - 10
|
|
|
|
Goto Forum:
Current Time: Wed Jun 05 06:33:11 CEST 2024
Total time taken to generate the page: 0.01519 seconds
|